DESCRIPTION OF INSTRUCTIONS
285
35. DJNZ Rr, code address (Decrement register, and jump if not zero)
1
1
0
1
1
r
2
r
1
r
0
7
0
Instruction code
Relative offset
Operations
Number of bytes
Number of cycles
Flags
(PSW)
Description
:
Byte 1
R
7
R
6
R
5
R
4
R
3
R
2
R
1
R
0
7
0
Byte 2
(PC)
←
(PC)+2
(Rr)
←
(Rr)–1 r=0 thru 7
IF (Rr)
≠
0
THEN
(PC)
←
(PC)+relative offset
:
C
AC
F0
RS1 RS0 OV
F1
P
:
:
:
The register r contents are decremented by 1. Control is shifted
to a relative jump address if the register r contents are not 0 as
a result of the decrement. Control is shifted to the next address
following this instruction if the result is 0.
:
2
2
Summary of Contents for MSM85C154HVS
Page 1: ...MSM80C154S MSM83C154S MSM85C154HVS USER S MANUAL...
Page 8: ...1 INTRODUCTION...
Page 9: ...MSM80C154S 83C154S 85C154HVS 2...
Page 15: ...MSM80C154S 83C154S 85C154HVS 8...
Page 16: ...2 SYSTEM CONFIGURATION...
Page 17: ...MSM80C154S 83C154S 85C154HVS 10...
Page 48: ...3 CONTROL...
Page 49: ...MSM80C154S 83C154S 85C154HVS 42...
Page 60: ...4 INTERNAL SPECIFICATIONS...
Page 61: ...MSM80C154S 83C154S 85C154HVS 54...
Page 197: ...MSM80C154S 83C154S 85C154HVS 190 5 INPUT OUTPUT PORTS...
Page 198: ...INPUT OUTPUT PORTS 191...
Page 220: ...INPUT OUTPUT PORTS 213...
Page 221: ...MSM80C154 83C154 85C154 214 6 ELECTRICAL CHARACTERISTICS...
Page 222: ...ELECTRICAL CHARACTERISTICS 215...
Page 236: ...7 DESCRIPTION OF INSTRUCTIONS...
Page 237: ...MSM80C154S 83C154S 85C154HVS 230...