S1C63000 CORE CPU MANUAL
EPSON
99
CHAPTER 4: INSTRUCTION SET
JRZ sign8
Jump to relative location sign8 if Z flag is set
1 cycle
Function:
If Z = 1 then PC
←
PC + sign8 + 1 (sign8 = -128~127)
Executes the "JR sign8" instruction if the Z (zero) flag has been reset to "0", otherwise executes
the next instruction.
Code:
Mnemonic
MSB
LSB
JRZ sign8
0
0
1
1
0 s7 s6 s5 s4 s3 s2 s1 s0 0600H–06FFH
Flags:
E
I
C
Z
↓
–
–
–
Mode:
Signed 8-bit PC relative
Extended addressing: Valid
Extended
LDB
%EXT,imm8
operation:
JRZ
sign8
If Z = 1 then PC
←
PC + 1
(sign16 = -32768 to 32767, upper 8-bit: imm8, lower 8-bit: sign8)
LD %r,%r’
Load r’ reg. into r reg.
1 cycle
Function:
r
←
r’
Loads the content of the r’ register (A, B or F) into the r register (A, B or F).
Code:
Mnemonic
MSB
LSB
LD %A,%A
1
1
1
1
0
1
1
1
1
0
0
0
0
1EF0H
LD %A,%B
1
1
1
1
0
1
1
1
1
0
0
1
0
1EF2H
LD %A,%F
1
1
1
1
1
1
1
1
1
0
1
1
0
1FF6H
LD %B,%A
1
1
1
1
0
1
1
1
1
0
1
0
0
1EF4H
LD %B,%B
1
1
1
1
0
1
1
1
1
0
1
1
0
1EF6H
LD %F,%A
1
1
1
1
1
1
1
1
1
0
1
0
1
1FF5H
Flags:
E
I
C
Z
↓
–
–
–
↕
↕
↕
↕
(r = F)
Mode:
Src: Register direct
Dst: Register direct
Extended addressing: Invalid
Содержание S1C63000
Страница 1: ...MF855 03 Core CPU Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63000 ...
Страница 4: ......