Category:Plain English: Difference between revisions
Content added Content deleted
(Added more detais about the language) |
m (commented assembly code) |
||
Line 80: | Line 80: | ||
<syntaxhighlight lang="asm"> |
<syntaxhighlight lang="asm"> |
||
mov eax, [ebp+8] ;load the current stack address + 8 into the accumulator |
mov eax, [ebp+8] ; $8B8508000000 -> load the current stack address + 8 into the accumulator |
||
mov eax, [eax] ;load memory pointed to by accumulator into accumulator |
mov eax, [eax] ; $8B00 -> load memory pointed to by accumulator into accumulator |
||
mov ebx, [ebp+12] ;load the current stack address + 12 into working register |
mov ebx, [ebp+12] ; $8B9D0C000000-> load the current stack address + 12 into working register |
||
add [ebx],eax ;add accumulator to memory pointed to by working register |
add [ebx],eax ; $0103 -> add accumulator to memory pointed to by working register |
||
</syntaxhighlight> |
</syntaxhighlight> |
||