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




Reply With Quote