CHAPTER 11 INSTRUCTION SET
244
User’s Manual U10676EJ3V0UM
RORC
A
1
1
CY
←
A
0
, A
3
←
CY, A
n–1
←
A
n
NOT
A
2
2
A
←
A
INCS
reg
1
1 + S
reg
←
reg + 1
reg = 0
rp1
1
1 + S
rp1
←
rp1 + 1
rp1 = 00H
@HL
2
2 + S
(HL)
←
(HL) + 1
*1
(HL) = 0
mem
2
2 + S
(mem)
←
(mem) + 1
*3
(mem) = 0
DECS
reg
1
1 + S
reg
←
reg – 1
reg = FH
rp'
2
2 + S
rp'
←
rp' – 1
rp' = FFH
Comparison
SKE
reg, #n4
2
2 + S
Skip if reg = n4
reg = n4
@HL, #n4
2
2 + S
Skip if (HL) = n4
*1
(HL) = n4
A, @HL
1
1 + S
Skip if A = (HL)
*1
A = (HL)
XA, @HL
2
2 + S
Skip if XA = (HL)
*1
XA = (HL)
A, reg
2
2 + S
Skip if A = reg
A = reg
XA, rp'
2
2 + S
Skip if XA = rp'
XA = rp'
SET1
CY
1
1
CY
←
1
CLR1
CY
1
1
CY
←
0
SKT
CY
1
1 + S
Skip if CY = 1
CY = 1
NOT1
CY
1
1
CY
←
CY
SET1
mem.bit
2
2
(mem.bit)
←
1
*3
fmem.bit
2
2
(fmem.bit)
←
1
*4
pmem. @L
2
2
(pmem
7-2
+ L
3-2
.bit(L
1-0
))
←
1
*5
@H+mem.bit
2
2
(H + mem
3-0
.bit)
←
1
*1
CLR1
mem.bit
2
2
(mem.bit)
←
0
*3
fmem.bit
2
2
(fmem.bit)
←
0
*4
pmem.@L
2
2
(pmem
7-2
+ L
3-2
.bit(L
1-0
))
←
0
*5
@H+mem.bit
2
2
(H + mem
3-0
.bit)
←
0
*1
SKT
mem.bit
2
2 + S
Skip if(mem.bit) = 1
*3
(mem.bit) = 1
fmem.bit
2
2 + S
Skip if(mem.bit) = 1
*4
(fmem.bit) = 1
pmem.@L
2
2 + S
Skip if(pmem
7-2
+ L
3-2
.bit(L
1-0
)) = 1
*5
(pmem.@L) = 1
@H+mem.bit
2
2 + S
Skip if(H + mem
3-0
.bit) = 1
*1
(@H + mem.bit) = 1
SKF
mem.bit
2
2 + S
Skip if(mem.bit) = 0
*3
(mem.bit) = 0
fmem.bit
2
2 + S
Skip if(fmem.bit) = 0
*4
(fmem.bit) = 0
pmem.@L
2
2 + S
Skip if(pmem
7-2
+ L
3-2
.bit(L
1-0
)) = 0
*5
(pmem.@L) = 0
@H+mem.bit
2
2 + S
Skip if(H + mem
3-0
.bit) = 0
*1
(@H + mem.bit) = 0
SKTCLR
fmem.bit
2
2 + S
Skip if(fmem.bit) = 1 and clear
*4
(fmem.bit) = 1
pmem.@L
2
2 + S
Skip if(pmem
7-2
+ L
3-2
.bit(L
1-0
)) = 1 and clear
*5
(pmem.@L) = 1
@H+mem.bit
2
2 + S
Skip if(H + mem
3-0
.bit) = 1 and clear
*1
(@H + mem.bit) = 1
Machine
Cycle
Instructions
Mnemonic
Operand
Bytes
Operation
Skip Condition
Addressing
Area
Accumulator
manipulation
Increment/
decrement
Memory bit
manipula-
tion
Carry flag
manipula-
tion