READ R4A
Machine code
Description
Read ROM code of current page to R4 and accumulator
0 1 0 0 1 1 0 0
The 8-bit ROM code (current page) addressed by ACC and M(R1,R0) is
moved to the working register R4 and the accumulator. The high nibble of
the ROM code is loaded to R4 and the low nibble of the ROM code is loaded
to the accumulator. The address of the ROM code is specified as below:
Current page
→
ROM code address bit 11~8
ACC
→
ROM code address bit 7~4
M(R1,R0)
→
ROM code address bit 3~0
R4
←
ROM code (high nibble)
ACC
←
ROM code (low nibble)
Operation
READF MR0A
Machine code
Description
Read ROM Code of page F to M(R1,R0) and ACC
0 1 0 0 1 1 1 1
The 8-bit ROM code (page F) addressed by ACC and R4 is moved to the
data memory M(R1,R0) and the accumulator. The high nibble of the ROM
code is loaded to M(R1,R0) and the low nibble of the ROM code is loaded to
the accumulator.
Page F
→
ROM code address bit 11~8 are “1111”
ACC
→
ROM code address bit 7~4
R4
→
ROM code address bit 3~0
M(R1,R0)
←
high nibble of ROM code (page F)
ACC
←
low nibble of ROM code (page F)
Operation
READF R4A
Machine code
Description
Read ROM code of page F to R4 and accumulator
0 1 0 0 1 1 0 1
The 8-bit ROM code (page F) addressed by ACC and M(R1,R0) is moved to
the working register R4 and the accumulator. The high nibble of the ROM
code is loaded to R4 and the low nibble of the ROM code is loaded to the ac-
cumulator.
Page F
→
ROM code address bit 11~8 are “1111”
ACC
→
ROM code address bit 7~4
M(R1,R0)
→
ROM code address bit 3~0
R4
←
high nibble of ROM code (page F)
ACC
←
low nibble of ROM code (page F)
Operation
RET
Machine code
Description
Operation
Return from subroutine or interrupt
0 0 1 0 1 1 1 0
The program counter bits 0~11 are restored from the stack.
PC
←
Stack
HTG1390
Preliminary
24
17th Nov ’98