Sonic Alert msm85c154hvs, msm83c154s JNB bit address, code address Jump if bit is not set, 301

Models: msm83c154s msm85c154hvs msm80154s

1 378
Download 378 pages 26.51 Kb
Page 308
Image 308

DESCRIPTION OF INSTRUCTIONS

46. JNB bit address, code address (Jump if bit is not set)

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

0

 

0

1

 

1

 

 

0

0

0

0

Byte 1

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Bit address

 

b7

b6

b5

b4

 

 

b3

b2

b1

b0

Byte 2

 

 

7

 

 

 

 

 

 

 

 

 

 

0

 

Relative offset

 

R7

R6

R5

R4

 

 

R3

R2

R1

R0

Byte 3

Operations

: (PC)(PC)+3

 

 

 

 

 

 

 

 

 

 

IF (bit address)=0

 

 

 

 

 

 

 

 

 

 

THEN

 

 

 

 

 

 

 

 

 

 

 

 

 

(PC)(PC)+relative offset

 

 

 

 

Number of bytes

: 3

 

 

 

 

 

 

 

 

 

 

 

 

Number of cycles

: 2

 

 

 

 

 

 

 

 

 

 

 

 

Flags

:

C

AC

F0

RS1

 

 

RS0

OV

F1

P

 

(PSW)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

: Control is shifted to a relative jump address if the specified bit

 

 

address content is 0, but shifted to the next address following

 

 

this instruction if the content is 1.

 

 

 

301

Page 308
Image 308
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual JNB bit address, code address Jump if bit is not set, 301