DESCRIPTION OF INSTRUCTIONS

49. JZ code address (Jump if accumulator is not 0)

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Instruction code

:

0

 

1

1

0

 

 

0

0

0

0

Byte 1

 

 

7

 

 

 

 

 

 

 

 

 

0

 

Relative offset

 

R7

R6

R5

R4

 

 

R3

R2

R1

R0

Byte 2

Operations

: (PC)(PC)+2

 

 

 

 

 

 

 

 

 

 

IF (A)=0

 

 

 

 

 

 

 

 

 

 

 

THEN

 

 

 

 

 

 

 

 

 

 

 

 

(PC)(PC)+relative offset

 

 

 

 

Number of bytes

: 2

 

 

 

 

 

 

 

 

 

 

 

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 accumulator

 

 

contents are 0. Control is shifted to the next address following

 

 

this instruction if the contents are not 0.

 

 

307

Page 314
Image 314
Sonic Alert msm85c154hvs, msm83c154s, msm80154s user manual JZ code address Jump if accumulator is not, 307