Download Print this page

Byte Commands - Intel EV80Cl96KB User Manual

Microcontroller evaluation board

Advertisement

-389
EV80Cl96KB Microcontroller Evaluation Board User's Manual
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-96 will display the
<byte-address>
symbolically if a valid symbol exists for that <byte-address>.
Whether or not the symbolic display occurs, iECM-96 will display the
<byte-address>
in hexadecimal notation, the value of the BYTE in the default base
and wait for an input from you. You can respond with a CARRIAGE-RETURN
character, an ESC character, or by entering a numeric value. A CARRIAGE-RE-
TURN will terminate the command. An ESC will result in the display of the next
sequential BYTE variable. If a numeric value is entered then the BYTE variable will
be set to this value and the iECM-96 will again wait for input. At this point you can
respond only with an ESC or CARRIAGE-RETURN.
As before, the ESC will display
the next sequential BYTE and the CARRIAGE-RETURN
will terminate the com-
mand.
BYTE <byte-address>
= <byte value>
This form is used to set an indizdual
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 cbyte_address>
This form is used to display a region of memory as a sequence of BYTE variables.
When this command is invoked, iECM-96 will start by displaying the current default
base and then a series of lines showing the contents of the selected memory region.
16 a symbol exists in iECM-96's symbol table for the next <byte-address>
then this
symbol will be displayed. Whether or not the symbolic display happens, the next line
will start 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 will be started whenever 16 bytes of memory have been
displayed on the line or a valid symbol exists in iECM-96's symbol table for the next
<byte-address>
to be displayed. 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 hitting the SPACE bar. Display can be re-
sumed by hitting the SPACE bar a second time. The command can be terminated by
entering a carriage return.
BYTE <byte-address>
TO <byte-address>
= <byte-value>This
form is used to
initialize a region of memory to the given <byte-value>.
Note that this command will
take a little over a millisecond (at 9600 baud) for each BYTE loaded. This command
can be terminated by entering a carriage return but this leaves only part of the
memory region initialized.

Advertisement

loading