JNZ A,address
Machine code
Description
J ump if accumulator is not zero
1 0 1 1 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 but bit 11 of the program counter is unaffected, if the accumulator
is not zero.
PC (bit 0~10)
←
address, if ACC
≠
0
PC
←
PC+2, if ACC=0
Operation
JNZ Rn,address
Machine code
J ump if register is not zero
R0 1 0 1 0 0 a a a a a a a a a a a
R1 1 0 1 0 1 a a a a a a a a a a a
R4 1 1 0 1 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 but bit 11 of the program counter is unaffected, if the register is
not zero.
PC (bit 0~10)
←
address, if Rn
≠
0; Rn=R0,R1,R4
PC
←
PC+2, if Rn=0
Description
Operation
JTMR address
Machine code
Description
J ump if time-out
1 1 0 1 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 TF (Timer
flag) is set to one.
PC (bit 0~10)
←
address, if TF=1
PC
←
PC+2, if TF=0
Operation
JZ A,address
Machine code
Description
J ump if accumulator is zero
1 0 1 1 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 accumulator
is zero.
PC (bit 0~10)
←
address, if ACC=0
PC
←
PC+2, if ACC
≠
0
Operation
MOV A,Rn
Machine code
Description
Operation
Move register to accumulator
0 0 1 0 n n n 1
Data in the working register “Rn” is moved to the accumulator.
ACC
←
Rn; Rn=R0~R4, for nnn=0~4
HTG1390
Preliminary
20
17th Nov ’98