Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

asm is lisp

Name: Anonymous 2011-12-02 13:09

When i look at my gcc -S anus.c produced asm code i see that each method has a ret at the end, even the main.

How does it know to ret to the _main method rather than exit the program?

Name: Anonymous 2011-12-02 20:42

I've always wondered, how do you initialize variables in ASM or make structs?

clearly it's not as simple as `int ...' or `struct ...{}'

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List