|
since you didn't specify your architecture, i'll assume you're talking about an x86 machine. i've never really worked with x86 assembly, but i'll give it a shot.
the $(number) most likely means "immediate value".
the % is probably "indirect value".
gcc will assemble files with extension .s or .S (it actually calls the system assembler, "as", but it's much easier through gcc). gcc can also generate assembly code from c. just run gcc -S myfile.c and it will create myfile.s.
|