CHAPTER 18 INSTRUCTION SET
244
SUB4:
SET
....................................
SUB5:
RET
....................................
SUB6:
RET
....................................
SUB7:
RET
....................................
SUB8:
RET
....................................
SUB9:
RET
....................................
SUB1:
RET
....................................
SUB2:
RET
....................................
SUB3:
RET
....................................
.........
.............
;*
;**Jump table for subroutine
Address ;*
0010H BR SUB1
0011H BR SUB2
0012H BR SUB3
0013H BR SUB4
0014H BR SUB5
0015H BR SUB6
0016H BR SUB7
0017H BR SUB8
0018H BR SUB9
.............
.............
MOV
MOV
MOV
MOV
MOV
ST
SKF
AND
CALL
RPH,
RPL,
AR3,
AR2,
AR1,
AR0,
AR0,
AR0,
@AR,
#00H
#02H
#00H
#00H
#01H
10H
#1000B
#1000B
; General register bank 0
; General register row address 1
; AR3 00H address register 001
×
H
; AR2 00H
; AR1 01H
; AR0 0.10H
; If the content of AR0 is larger than 08H,
; set AR0 content to 08H
To jump table
Returns here when executing
RET instruction in each subroutine
<4> Note
The higher 6 bits of address register are fixed to 0. Only lower 10 bits can be used.
Summary of Contents for mPD17120 Subseries
Page 15: ... x MEMO ...
Page 23: ... MEMO 8 ...
Page 45: ... MEMO 30 ...
Page 49: ... MEMO 34 ...
Page 55: ... MEMO 40 ...
Page 93: ... MEMO 78 ...
Page 99: ... MEMO 84 ...
Page 102: ...CHAPTER 11 ARITHMETIC AND LOGIC UNIT 87 MEMO ...
Page 119: ... MEMO 104 ...
Page 175: ... MEMO 160 ...
Page 199: ... MEMO 184 ...
Page 265: ... MEMO 250 ...
Page 281: ...266 MEMO ...
Page 285: ... MEMO 270 ...
Page 289: ... MEMO 274 ...