Intel 80C188EB User Manual

Page of 88
INTEL 186 EB/EC EVALUATION BOARD USER’S MANUAL
5-18
CS
DS
SP
BP
DI
ES
FLAGS
IP
PC {=<code_address>}
 
REGS
SI
SP = <word_address>
 
SS
The processor variables can be modified only while the target is stopped. They can be read at any
time. These commands allow the display and loading of the internal target processor registers.
Display is in the default base. Addresses are displayed in the last format used (i.e., if PC was
loaded with the PC=segment:offset command, addresses will be displayed in that format).
The REGS command displays the register contents of the microprocessor in the current base. The
80C186EC registers may be individually displayed or changed by referring to them by name. The
registers with suffixes of ‘H or ‘L are byte-wide; all others are word-wide.
The PC and SP commands are special cases because they modify both segment and offset (i.e.,
CS:IP, SS:SP).
NOTE
The examination of the SP will be confusing if you don’t understand the 
following paragraph.
The iECM-86 software uses twenty-eight words in the user’s stack to store all internal CPU
registers during a host interface interrupt. When the user displays the SP (or uses the STACK
command), the value shown for SP is adjusted by the correct number of bytes to compensate for
this overhead so that it becomes invisible to the user (the user must still allow for the extra stack
space used).