[cc65] function pointer to __fastcall__ function

From: Per Olofsson <magervalp1gmail.com>
Date: 2012-02-18 02:48:50
This code crashes after string_resources[i].load_func(num,
string_resources[i].ptr) if get_string_resource_ptrs is declared as
__fastcall__, as ptr_tab isn't pushed on the stack.

  http://dl.dropbox.com/u/839742/resources.c
  http://dl.dropbox.com/u/839742/resources.s
  http://dl.dropbox.com/u/839742/resources_fastcall.s
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Feb 18 02:49:06 2012

This archive was generated by hypermail 2.1.8 : 2012-02-18 02:49:12 CET