0% found this document useful (0 votes)
36 views

MSI Lab Assng

The document describes various parameters used in a debug program: - The Dump parameter displays the contents of a memory block. - The Enter parameter inserts data or instructions directly into memory locations. - The Trace parameter steps through CPU instructions one at a time from a specified memory location.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

MSI Lab Assng

The document describes various parameters used in a debug program: - The Dump parameter displays the contents of a memory block. - The Enter parameter inserts data or instructions directly into memory locations. - The Trace parameter steps through CPU instructions one at a time from a specified memory location.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 10

PARAMETERS

Parameters listed in [ ] are explained as:


 address :–
Memory location specified in hexadecimal. for example

 Quit: Q
Immediately quits (exits) the Debug program.
 Hex: H value1 value2
A very simple (add and subtract only) Hex
calculator.When we Enter two Hex values (no more than four
digits each) and DEBUG shows first the SUM, then the
DIFFERENCE of those values. Examples::

 Dump: D [range]
D [address] [length]
Displays the contents of a block of memory. The Memory
locations near the beginning of Segment C000 should display
information about the kind of video card installed on your PC.
 Enter: E address [list]
Used to enter data or instructions (as machine code)
directly into Memory locations.

 Assemble: A [address]
Creates machine executable code in memory beginning
from the 8086/8088 (and 8087) Assembly Language
instructions which are entered. The assembly process will
stop after you ENTER an empty line. 

 Move: M range address


This command should really be called: COPY (not Move)
as it actually copies all the bytes from within the
specified range to a new address.

 Trace: T [=address] [number]


The T command is used to trace CPU instructions one at
a time. If you enter the T command all by itself, it will step
through only ONE instruction beginning at the location
specified by your CS:IP registers this is the 'default' mode of the
TRACE command.

 Negative (neg)
 Exchange(xchg)
Exchange the values of one register to the other

 Increment(inc)
performs an increment in the value.
 Decrement(dec)
performs a decrement in the value

 Subtraction(sub)

Performs subtraction on values of two registers


 Add
Performs addition on the values of registers

 Multiplication(mul)
Performs multiplication on the values of two registers
(mul multipler)
 Division(div)
Performs division on values of two register
(Div divisior)

You might also like