Re: debug.com push b800
- From: "wolfgang kern" <nowhere@xxxxxxxxxxx>
- Date: Wed, 27 Apr 2005 16:29:00 +0000 (UTC)
Jim Carlock wrote:
| How do you push a number onto the stack when using debug.com?
You may enter hex db-entries (key: "E")
use16: (assumed)
68 21 43 PUSH 4321h
66 68 21 43 65 87 PUSH 87654321h
6A c0 PUSH w -40 ;sign-extended byte
66 6A ff PUSH dw -1 ; -"-
| Is there a reference manual on how to use debug.com anywhere? The
| list of instructions supported?
DOS-Debug(com/exe) seems to know only, but all 8086 instructions.
| I'm trying to push a 32-bit number onto the stack and debug.com
| seems to be expecting something different.
I'm afraid it wont understand at all, you can use as above ..
| I was thinking to use the Intel manual and it's displaying:
| Opcode Instruction
| FF /6 PUSH r/m16
| FF /6 PUSH r/m32
they push only memory/register operands, but never an immediate value
the latter would need a 66 prefix.
| It looks like there's a lot of stuff that debug doesn't know about.
Yes.
| I know I've downloaded another command-line debugger from somewhere
| to replace debug.com. If anyone knows of a link to one thanks for the help.
Haven't seen one which fully supports all IA-32 instructions,
a working opportunity could be FASM together with OllyDebug.
__
wolfgang
.
- References:
- debug.com push b800
- From: Jim Carlock
- debug.com push b800
- Prev by Date: Re: debug.com push b800
- Next by Date: Re: Direct I/O to device on PCI card
- Previous by thread: Re: debug.com push b800
- Next by thread: Re: debug.com push b800
- Index(es):
Relevant Pages
|