Intel 80C188EB Computer Hardware User Manual


 
5-11
iECM-86 COMMANDS
5
5.4.2 BYTE Commands
There are four forms for the BYTE commands:
BYTE
byte_address
BYTE
byte_address
=
byte_value
BYTE
byte_address
TO
byte_address
BYTE
byte_address
TO
byte_address
=
byte_value
All of these commands can be used whether or not the user’s program is running.
BYTE byte_address This form is used to examine and then possibly change one or more
sequential BYTE variables. When this command is invoked, iECM-
86 displays the byte_address in hexadecimal notation and the value
of the BYTE in the default base, then waits for an input from you.
You can respond with a carriage return character, an ESC character,
or a numeric value. A carriage return terminates the command. An
ESC results in the display of the next sequential BYTE variable. If a
numeric value is entered, the BYTE variable is set to this value and
the iECM-86 again waits for input. At this point, you can respond
only with an ESC or carriage return. As before, the ESC displays the
next sequential BYTE and the carriage return terminates the
command.
BYTE byte_address = byte_value
This form is used to set an individual BYTE variable without first
checking its current value. When invoked, this command sets the
BYTE variable at byte_address to byte_value.
BYTE byte_address TO byte_address
This form is used to display a region of memory as a sequence of
BYTE variables. When this command is invoked, iECM-86 starts by
displaying the current default base and then a series of lines showing
the contents of the selected memory region. The next line starts with
a hexadecimal display of the address of the next BYTE variable to be
displayed, followed by the display of up to 16 bytes of memory as
BYTE variables in the default base. A new line start whenever 16
bytes of memory have been displayed on the line. The command
terminates when all of the BYTE variables in the selected range have
been displayed. During lengthy displays, you can stop the output to
the console by pressing the space bar. You can resume the display by
pressing the space bar a second time. You terminate the command by
entering a carriage return.