Intel 80C188EB Computer Hardware User Manual


 
6-1
6
CHAPTER 6
iRISM-186 COMMANDS
This chapter describes the elements of iRISM-186 monitor code. This information is common to
all implementations.
6.1 iRISM VARIABLES
The following table lists the RISM variables and provides a description of each.
6.1.1 Other Variables
Specific implementations of RISMs will require other variables for temporary storage.
Table 6-1. iRISM Variables
Variable Description
RISM_DATA A 32-bit register that acts as the primary data interface between software
running in the host and the RISM running in the target.
RISM_ADDR A 32-bit register that contains the address to be used for reading and writing
target memory. The base address is contained in the most significant word
and the offset is in the least significant word.
RISM_STATUS An 8-bit register used to store RISM status and state information. This
register contains the following boolean flags:
BOOLEAN FLAGS
DATA_FLAG Indicates that the next character received by the RISM should be treated as a
data byte, even if its value corresponds to an implemented command.
RUN_FLAG Indicates that the target is running user code. It can modify the operation of
some RISM commands.
TRAP_FLAG Indicates that the target was running user code, but that a software trap
suspended its execution. The TRAP_FLAG is cleared whenever RISM starts
execution of user code.
DIAG_FLAG An optional flag that indicates that the target is operating in a diagnostic
mode. Details of this flag are implementation-dependent.
USER_CS /
USER_IP
Used to save the user’s program counter while the user’s code is not
executing.
USER_FLAGS Saves the user’s program status word while the user’s code is not executing.