Sep 11, 2024
clang -E
to run pre-processor and view macro expansions.clang -S
to produce assembly code.LD
to produce the final executable.MOV
: Moves data between registers.ADD
: Adds contents of registers.SUB
, MUL
, DIV
: Arithmetic operations.JMP
, CALL
, RET
: Control flow.JE
(Jump if Equal), JNE
(Jump if Not Equal).XOR
to zero registers).NOP
for alignment optimization.