Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Assembly

Name: Anonymous 2011-04-25 15:40

Hey /prog/, I am learning Pentium Assembly on linux, using nasm assembler. I've been having trouble with the stack operations. Could somebody explain how I can simply push 4 integers(hex/dec) onto the stack, and then later pop them off? I get some really weird messages when I try to do this.

Thanks a lot.

Name: Anonymous 2011-04-25 15:59


PUSH 5
PUSH -12
PUSH 0x1234
PUSH EAX
PUSH DWORD [ESI]


What's so complicated about that?

Name: Anonymous 2011-04-25 16:05

>>2

u mena


push 5
push -12
push 0x1234
push eax
push dword [esi]

Name: Anonymous 2011-04-25 16:13

>>1
Read the Intel manuals.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List