#24480 - booger - Wed Aug 04, 2004 1:50 pm
Is there a neat way calling ASM-functions in IWRAM from C-functions in ROM without defining IWRAM-attributes? Example:
/* C-code begin */
#define CODE_IN_IWRAM __attribute__ ((section(".iwram"),long_call))
void asm_iwram_function(void) CODE_IN_IWRAM;
void main(void)
{
asm_iwram_function();
}
/* C-code end */
I'm using the latest DevkitARM.
/* C-code begin */
#define CODE_IN_IWRAM __attribute__ ((section(".iwram"),long_call))
void asm_iwram_function(void) CODE_IN_IWRAM;
void main(void)
{
asm_iwram_function();
}
/* C-code end */
I'm using the latest DevkitARM.