mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-02 19:42:59 +00:00
15 lines
196 B
C
15 lines
196 B
C
void foo (unsigned int * p)
|
|
{
|
|
if ((signed char)(*p & 0xFF) == 17 || (signed char)(*p & 0xFF) == 18)
|
|
return;
|
|
else
|
|
abort ();
|
|
}
|
|
|
|
int main ()
|
|
{
|
|
int i = 0x30011;
|
|
foo(&i);
|
|
exit (0);
|
|
}
|