Re: Debug.exe for win32
From: Al Leitch (al_leitch_at_3*&yahoo.com)
Date: 09/07/04
- Next message: Frank Kotler: "Re: Helpful Practical Uses of Conditional Assembly"
- Previous message: Al Leitch: "Re: Debug.exe for win32"
- In reply to: Robert: "Re: Debug.exe for win32"
- Next in thread: C: "Re: Debug.exe for win32"
- Reply: C: "Re: Debug.exe for win32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 06 Sep 2004 23:25:37 -0700
You can, by prepending 0x68h before your instructions. Annie Ascii did
this with her DOS source code, being her assembler only supported
16-bit. However, if your talking about Windows programming, the story
doesn't stop here...
When you produce a 32-bit windows executable, your code and data are not
the only actual contents of the file. There's an entire set of data
structures that every 32-bit windows executable, known as the Portable
Executable file format. So if you were to create a 32-bit win exe under
debug, you woul have to have intimate understanding of the file format
and you'd have to define it with DB, DW and DD statements.
Robert wrote:
>>No. Microsoft's debug.exe only knows 16-bit instructions
>
> and >registers
>
>>(unless they changed it in Windows XP, but I doubt that).
>
>
> Ok, how about this: Is it possible to somehow write a program
> that can access 32 instructions/registers from debug.exe? I
> vaguely remember that there were tables of some kind that
> contained pointers to interrupts and other functions. It must
> be possible to write a program to do this with debug.exe.
>
> For example, if I knew what I was doing, could I use
> debug.exe to write an actual .386 assembler, for example?
> There must be some way to systematically enlarge my
> programming options with the basic 8086 instruction set at my
> disposal.
>
> Maybe I'm grasping at straws, but I'm just very curious.
> Thanks for your responces.
- Next message: Frank Kotler: "Re: Helpful Practical Uses of Conditional Assembly"
- Previous message: Al Leitch: "Re: Debug.exe for win32"
- In reply to: Robert: "Re: Debug.exe for win32"
- Next in thread: C: "Re: Debug.exe for win32"
- Reply: C: "Re: Debug.exe for win32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|