Figure3.27 memory move instruction part 2, 3 transfer control instruction example, Transfer control instruction example – Avago Technologies LSI53C1010 User Manual
Page 116: Memory move instruction part 2
![background image](https://www.manualsdir.com/files/864554/content/doc116.png)
3-76
The SCSI SCRIPTS Processor Instruction Set
Figure 3.27 Memory Move Instruction Part 2
3.3.3 Transfer Control Instruction Example
In
, the processor performs an interrupt with a vector of
0xACB. The first version shows how the operation would be expressed
in the SCRIPTS language. NASM translates the operation into the
hexadecimal format shown. The hexadecimal format is then compiled
producing the instruction in a binary form that can be loaded into host
memory and put inside a “C” language data declaration. The INT
instruction generates a hexadecimal value of 0x98 for the high order byte
of the instruction, translating to 0b10 for Transfer Control, and 0b011 for
the opcode for Interrupt.
NASM
Output
C0000008
00000000
1
0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
1
0
0
Binary
Instruction
Format
00000008
DSPS Register
0
0 0 0 0 0
0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0
0
0
Temp Register
Binary
Instruction
Format
(command_buffer) (scratch_buffer)