Intel 80C186EC, 80L188EC, 80L186EB, 80L186EC, 80C186EB, 80C188EB IRISM Variables, Other Variables

Models: 80L188EB 80C188EC 80C188EB 80L186EB 80C186EB 80L186EC 80C186EC 80L188EC

1 88
Download 88 pages 32.53 Kb
Page 71
Image 71

CHAPTER 6 iRISM-186 COMMANDS

This chapter describes the elements of iRISM-186 monitor code. This information is common to all implementations.

6.1iRISM VARIABLES

The following table lists the RISM variables and provides a description of each.

 

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 /

Used to save the user’s program counter while the user’s code is not

USER_IP

executing.

 

 

USER_FLAGS

Saves the user’s program status word while the user’s code is not executing.

 

 

6.1.1Other Variables

Specific implementations of RISMs will require other variables for temporary storage.

6

6-1

Page 71
Image 71
Intel 80C186EC, 80L188EC, 80L186EB, 80L186EC, 80C186EB, 80C188EB, 80L188EB, 80C188EC user manual IRISM Variables, Other Variables