Results 1 to 11 of 11

Thread: debug programme [RESOLVED]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Location
    EGYPT
    Posts
    103

    debug programme [RESOLVED]

    is there any full explain about dos debug programme ?
    Last edited by cgi; Sep 20th, 2004 at 06:08 AM.

  2. #2
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    dos debug programme ?
    "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.

  3. #3
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945
    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.

  4. #4
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    Originally posted by Peter Swinkels
    An explanation can be found at:
    http://www.euronet.nl/users/swinkels/docs/debug.htm
    Your link is broken.
    "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.

  5. #5
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,945
    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

  6. #6
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    thx
    "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.

  7. #7
    Frenzied Member vbNeo's Avatar
    Join Date
    May 2002
    Location
    Jutland, Denmark
    Posts
    1,994
    Neat
    "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.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Location
    EGYPT
    Posts
    103
    thank's every one

  9. #9
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    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.

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Location
    EGYPT
    Posts
    103
    thank's Darkwraith

    it's the first time i know that


  11. #11
    Banned dglienna's Avatar
    Join Date
    Jun 2004
    Location
    Center of it all
    Posts
    17,901
    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
  •  



Click Here to Expand Forum to Full Width