I'm used to microcontroller development where such syntax usually takes the following form:
Microchip C compiler:
Code: Select all
#pragma romdata [overlay] [section-name] [=address]Code: Select all
unsigned char buf[128]@0x2000;Moderator: Stef
Code: Select all
#pragma romdata [overlay] [section-name] [=address]Code: Select all
unsigned char buf[128]@0x2000;Code: Select all
int *var_ptr = (int *)0xF00008;Code: Select all
.equ var_ptr, 0xF00008Code: Select all
heap_start = MEM_alloc(1);