Purpose: | Index calculation of arrays of fixed length data, bit fields and strings. | |||
Format: | opcode subscript.rl, low.rl, high.rl, size.rl, indexin.rl, indexout.wl | |||
Operation: |
|
|||
Condition Codes: |
N <- indexout LSS 0; Z <- indexout EQL 0; V <- 0; C <- 0; |
|||
Exceptions: | Subscript Range Trap | |||
Opcodes: |
|
|||
Description: | The indexin operand is added to the subscript operand and the sum multiplied by the size operand. The indexout operand is replaced by the result. If the subscript operand is less than the low operand or greater than the high operand, a subscript range trap is taken. | |||
Notes: |
|