NASM and push byte, ret; ret 4; ret 16
From: Ro (inp_out_at_sim.tim)
Date: 03/29/04
- Previous message: Herbert Kleebauer: "Re: newbe about API"
- Next in thread: Frank Kotler: "Re: NASM and push byte, ret; ret 4; ret 16"
- Reply: Frank Kotler: "Re: NASM and push byte, ret; ret 4; ret 16"
- Reply: wolfgang kern: "Re: NASM and push byte, ret; ret 4; ret 16"
- Reply: Bx.C: "Re: NASM and push byte, ret; ret 4; ret 16"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Mar 2004 11:05:54 GMT
What is the difference between
push 88; and push byte 88; push word 88;
in NASM, in 32 BIT code? And in 16 bit code?
I would image that what push is always 32 bits in 32 bits code; 16
bits in 16 bit code.
what are the instructions equivalent to ret, ret 0, ret 4
ret num?
Are there
ret x <=> {add esp, x + 4; jmp dword [ esp - (x + 4) ] }
?
Thanks
- Previous message: Herbert Kleebauer: "Re: newbe about API"
- Next in thread: Frank Kotler: "Re: NASM and push byte, ret; ret 4; ret 16"
- Reply: Frank Kotler: "Re: NASM and push byte, ret; ret 4; ret 16"
- Reply: wolfgang kern: "Re: NASM and push byte, ret; ret 4; ret 16"
- Reply: Bx.C: "Re: NASM and push byte, ret; ret 4; ret 16"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|