![](/images/new-backgrounds/1102670/102670141x1.webp)
CHAPTER 6 iRISM-186 COMMANDS
This chapter describes the elements of
6.1iRISM VARIABLES
The following table lists the RISM variables and provides a description of each.
| Table |
|
|
Variable | Description |
|
|
RISM_DATA | A |
| running in the host and the RISM running in the target. |
|
|
RISM_ADDR | A |
| target memory. The base address is contained in the most significant word |
| and the offset is in the least significant word. |
|
|
RISM_STATUS | An |
| 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 |
|
|
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