JNZ

JNZ n - Jump if Zero - Bit is not set

 

Operating Mode

                                   

PC := n if Zero - Bit is 0

 

PC := PC + 1 if Zero - Bit is 1

 

Description

 

Checks Zero - Bit, if it has value 0, the program counter is set to n, else the program counter is just incremented by 1

 

 

Binary Command

15 14 13 12 11

10 9 8 7 6 5 4 3 2 1 0

01100

n

Example

 

JNZ 23

15 14 13 12 11

10 9 8 7 6 5 4 3 2 1 0

01100

00000010111