main() { extern int x, y; exit((int)&x + (int)&y); }
/* (A strange thing to want to do, I agree!) */
/*_______________________________________________________________
The assembler generated is as follows:
#NO_APP
gcc_compiled.:
.comm _x,0
.comm _y,0
.text
.align 1
.globl _main
_main:
.word 0x0
jsb _c$main_args
movab _x+_y,r0
movl r0,_z
ret
.comm _z,4
_______________________________________________________________________
Tim Berners-Lee
CERN (European Particle Physics Laboratory), 1211 Geneva 23, Switzerland
t...@online.cern.ch
*/