|
-
Jan 2nd, 2004, 08:07 PM
#1
Thread Starter
Lively Member
debug programme [RESOLVED]
is there any full explain about dos debug programme ?
Last edited by cgi; Sep 20th, 2004 at 06:08 AM.
-
Jan 20th, 2004, 11:29 AM
#2
Frenzied Member
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Jan 20th, 2004, 12:42 PM
#3
Debug.exe is a small utility that can be used to write
short programs in assembly language and to view and manipulate
parts of the conventional memory. You can also disassemble
and execute machine code stored in memory.
As far as I know Debug came with MS-DOS and still
comes with windows.
An explanation can be found at:
Edit: This link is broken. Ignore it. See my next message in this thread for the explanation.
http://www.euronet.nl/users/swinkels/docs/debug.htm
Last edited by Peter Swinkels; Aug 31st, 2004 at 12:22 PM.
-
Aug 31st, 2004, 09:48 AM
#4
Fanatic Member
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Aug 31st, 2004, 12:20 PM
#5
Code:
Debug Command Overview
A Input assembly code starting at CS:IP and output machine code.
A Address Input assembly code starting at Address and output machine code.
C Address1 Number Address2 Compare Number bytes at Address1 to Number bytes at Address2.
D Dump 128 bytes of memory from active address on screen.
D Address Dump 128 bytes of memory from Address on screen.
D Address l Number Dump Number bytes of memory from Address on screen.
E Address List Enters data in List at Address.
F Address l Number List Fill memory at Address with Bytes and repeat this Number times.
G Execute code starting at CS:IP.
G Address Execute code up to Address.
G=Address Execute code starting at Address.
H Number1 Number2 Add Number1 and Number2 and subtract Number2 from Number1.
I Port Input one byte from I/O port Port.
L Load file set by N command (The file's size will be stored in the BX & CX registers.)
L Address Load file set by N command at Address.
L Address Drive Sector Number Load Number Sectors from Drive to Address.
N Path Set drive, directory and file name for L and W commands.
M Address1 Number Address2 Copy Number bytes from Address1 to Address2.
O Port Byte Output Byte to I/O port Port.
P Execute code starting at CS:IP.
P Number Execute Number instructions starting at CS:IP.
P=Address Execute code starting at Address.
P=Address Number Execute Number instructions starting at Address.
Q Quit.
S Address1 Address2 List Search from Address1 to Address2 for List.
T Execute one instruction at CS:IP and display result.
T Number Execute Number instructions at CS:IP and display result for each instruction.
T=Address Execute one instruction at Address and display result.
T=Address Number Execute Number instructions at Address and display result for each instruction.
R List registers.
R Register Display register value and prompt for a new value.
RF Display flags and prompt for new values.
U Disassemble machine code at active address.
U Address Disassemble machine code at Address.
U Address l Number Disassemble machine code with a length of Number bytes at Address.
W Save file set by N command (The file's size is stored in the BX & CX registers.)
W Address Write to file set by N command starting at Address.
W Address Drive Sector Number Write Number Sectors to Drive from Address.
? Display the list of commands.
-Data for the E(nter) and S(earch) commands can contain strings which must be between quotes.
-If nothing is entered when prompted for new register/flag values using the R/RF commands,
the registers/flags are not changed.
-List of flags and their settings:
Flag: False: True:
Overflow OV NV
Direction DN UP
Interrupt EI DI
Sign NG PL
Zero ZR NZ
Auxiliary Carry AC NA
Parity PE PO
Carry CY NC
-
Aug 31st, 2004, 08:38 PM
#6
Fanatic Member
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Sep 1st, 2004, 12:15 AM
#7
Frenzied Member
"Lies, sanctions, and cruise missiles have never created a free and just society. Only everyday people can do that."
- Zack de la Rocha
Hear me roar.
-
Sep 9th, 2004, 06:28 AM
#8
Thread Starter
Lively Member
thank's every one
-
Sep 9th, 2004, 07:49 AM
#9
Fanatic Member
Could you edit your first post's title to include [RESOLVED] if this thread is resolved?
Its just a service to those that are browsing the forum so we could recognize posts that have been resolved already.
"Can't" and "shouldn't" are two totally separate things.
All questions should be answered. All answers should be true. That is why I post.
-
Sep 20th, 2004, 06:09 AM
#10
Thread Starter
Lively Member
thank's Darkwraith
it's the first time i know that
-
Sep 29th, 2004, 12:38 AM
#11
i was trying to think of that the other night. its been so long since i used it, i forgot what it was called. glad its still available. i'll have to check it out again. (I think that I had a colored prompt in DOS using DEBUG)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|