Jump to content

Machine code: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2:
The task requires poking machine code directly into memory and executing it. This is strictly for x86 (32 bit) architectures. The machine code is the opcodes of the following simple program:
 
<lang asm><pre>mov EAX, [ESP+4]
add EAX, [ESP+8]
ret</pre></lang>
 
which translates into the following opcodes:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.