INC [R1R0]
Machine code
Description
Increment data memory
0 0 0 0 1 1 0 0
Data in the data memory specified by the register pair “R1,R0” is incre-
mented by one. Carry flag is not affected.
M(R1,R0)
←
M(R1,R0)+1
Operation
INC [R3R2]
Machine code
Description
Increment data memory
0 0 0 0 1 1 1 0
Data memory specified by the register pair “R3,R2” is incremented by one.
Carry flag is not affacted.
M(R3,R2)
←
M(R3,R2)+1
Operation
JAn address
Machine code
Description
J ump if accumulator bit n is set
1 0 0 n n a a a a a a a a a a a
Bits 0~10 of the program counter are replaced with the directly-specified
address but bit 11 of the program counter is unaffected, if accumulator bit
n is set to one.
PC (bit 0~10)
←
address, if ACC bit n=1(n=0~3)
PC
←
PC+2, if ACC bit n=0
Operation
JC address
Machine code
Description
J ump if carry is set
1 1 0 0 0 a a a a a a a a a a a
Bits 0~10 of the program counter are replaced with the directly-specified
address but bit 11 of the program counter is unaffected, if the CF (Carry
flag) is set to one.
PC (bit 0~10)
←
address, if CF=1
PC
←
PC+2, if CF=0
Operation
JMP address
Machine code
Description
Direct jump
1 1 1 0 a a a a a a a a a a a a
Bits 0~11 of the program counter are replaced with the directly-specified
address.
PC
←
address
Operation
JNC address
Machine code
Description
J ump if carry is not set
1 1 0 0 1 a a a a a a a a a a a
Bits 0~10 of the program counter are replaced with the directly-specified
address and bit 11 of the program counter is unaffected, if the CF (Carry
flag) is set to zero.
PC (bit 0~10)
←
address, if CF=0
PC
←
PC+2, if CF=1
Operation
HTG1390
Preliminary
19
17th Nov ’98