Overlooked a few target tests that take the address of main().
This commit is contained in:
@@ -21,6 +21,8 @@ unsigned int *MEMTOP = (unsigned int *)741;
|
||||
unsigned int *MEMLO = (unsigned int *)743;
|
||||
void *allocmem;
|
||||
|
||||
void code(void) { }
|
||||
|
||||
int main(void)
|
||||
{
|
||||
allocmem = malloc(257);
|
||||
@@ -35,7 +37,7 @@ int main(void)
|
||||
printf(" MEMLO = $%04X (%u)\n", *MEMLO, *MEMLO);
|
||||
|
||||
printf(" ----------------------\n");
|
||||
printf(" main: $%04X (code)\n", &main);
|
||||
printf(" code: $%04X (code)\n", &code);
|
||||
printf(" data: $%04X (data)\n", &data);
|
||||
printf(" _dos_type: $%04X (bss)\n", &_dos_type);
|
||||
printf(" allocmem: $%04X (dyn. data)\n", allocmem);
|
||||
|
||||
Reference in New Issue
Block a user