C Boilerplate Decompilation
Opcodes
operation | Intel Syntax | pseudo demo |
---|
mov (move) | mov ebx, 123 | ebx = 123 |
| Mov eax, ebx | eax = ebx |
add | add ebx, ecx | ebx += ecx |
sub | sub ebx, edx | ebx -= edx |
mul (multiply) | mul ebx | eax = ebx |
div | div edx | eax /= edx |
int (interrupt) | Int 0 | Check if program ended |
| int 0x80 | System call. Check if eax and abx register have cool values |
jmp (jump) | jmp some_addr | Changes RIP to the address |
nop(no operation) | nop | Do nothing |
cmon (conditional move) | cmov ecx, eax | if ecx has the value true, then move address stored in eax |