EasyManua.ls Logo

Oki MSM85C154HVS - Page 275

Oki MSM85C154HVS
378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MSM80C154S/83C154S/85C154HVS
268
21. CJNE A, data address, code address
(Compare memory to accumulator, jump if not equal)
10110101
70
Instruction code
Data address
Relative offset
Operations
Number of bytes
Number of cycles
Flags
(PSW)
Description
: Byte 1
R7 R6 R5 R4 R3 R2 R1 R0
70
Byte 3
(PC)(PC)+3
IF (A)(data address)
THEN
(PC)(PC)+relative offset
IF (A)<(data address)
THEN
(C)1
ELSE
(C)0
:
C AC F0 RS1 RS0 OV F1 P
:
:
:
The accumulator contents are compared with the specified data
address contents, and control is shifted to a relative jump
address if the compared data is not equal. If the compared data
is equal, control is shifted to the next address following this
instruction. The carry flag is set to 1 if the specified data
address contents are greater than the accumulator contents,
but is set to 0 if otherwise.
:
3
2
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2

Table of Contents