3 INSTRUCTION SET

JP NZ,s

Jump if not zero

 

 

 

 

 

 

 

 

Source Format:

JP NZ,s

 

 

 

 

 

 

 

 

Operation:

PCB NBP, PCP

NPP, PCS s7 to s0

if Z = 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OP-Code:

0

1

1

1

s7

s6

s5

s4

s3

s2

s1

s0

 

700H to 7FFH

 

MSB

 

 

 

 

 

LSB

 

Type: I

Clock Cycles: 5

Flag: C – Not affected

Z– Not affected D – Not affected I – Not affected

Description: Jumps to the destination address specified by the 8-bit operand when the zero flag is not set.

Example:

 

JP NZ,10H

 

PCB

1

1

 

NBP

1

1

 

PCP

0000

0000

 

NPP

0000

0000

 

PCS

0000 0111

0001 0000

 

Z flag

0

0

JP s

Jump

 

 

 

 

 

 

 

 

 

 

 

Source Format:

JP s

 

 

 

 

 

 

 

 

 

 

 

Operation:

PCB

NBP, PCP

NPP, PCS

s7 to s0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OP-Code:

0

0

0

0

s7

s6

s5

s4

s3

s2

s1

s0

000H to 0FFH

 

MSB

 

 

 

 

 

 

 

 

 

LSB

Type: I

Clock Cycles: 5

Flag: C – Not affected

Z– Not affected D – Not affected I – Not affected

Description: Unconditional jump to the destination address specified by the 8-bit operand.

Example:

 

PSET 0AH

 

 

JP 10H

 

PCB

0

 

0

 

0

 

NBP

0

 

0

 

0

 

PCP

0000

 

0000

 

1010

 

NPP

0001

 

1010

 

1010

 

PCS

0100 0010

 

0100 0011

 

0001 0000

S1C6200/6200A CORE CPU MANUAL

EPSON

45