Download Print this page

Stack Commands; String Commands - Intel EV80Cl96KB User Manual

Microcontroller evaluation board

Advertisement

-420
EV80C196KB Microcontroller Evaluation Board User's Manual
STACK Commands
There are two basic forms for the STACK commands:
STACK <stack address>
STACK cstackIaddress> TO <stack-address>
Both of these commands can be used whether or not the user's program is running.
STACK <stack address>
This command% useful for accessing a 16-bit variable which is known to be a fixed
offset in the system stack. When this command is invoked, iECM-96 executes a
"WORD <word-address> command where the <word-addr> is formed by adding
<stack-address> to the current value of the system stack pointer.
STACK <stack address> TO <stack-address>
This command% useful for accessing a sequence of 16-bit variables which are
known to start at a fixed offset in the system stack. When this command is invoked,
iECM-96 executes a "WORD <word-address> TO <word-address> command
where both <word-address> fields are formed by adding the corresponding
<stack-address
to the current value of the system stack pointer. During lengthy
displays you can stop the output to the console by hitting the SPACE bar. Display
can be resumed by hitting the SPACE bar a second time. The command can be
terminated by entering a carriage return.
STRING commands
There is only one form of the STRING command:
STRING <byte address>
If a symbol exi& for <byte-address> in the iECM-96's symbol table then this sym-
bol will be displayed. Whether or not the symbolic display happens, the next line will
start with a hexadecimal display of <byte-address> followed by the NUL terminated
ASCII string starting at that address. For long strings only the first 60 characters are
displayed. When trailing characters are stripped, decimal points (".") are substituted
for the first three characters stripped.

Advertisement

loading