Intel 8XC196MD, 8XC196MH, 8XC196MC manual Jnvt Jump if OVERFLOW-TRAP Flag is

Models: 8XC196MD 8XC196MH 8XC196MC

1 579
Download 579 pages 24.12 Kb
Page 411
Image 411

8XC196MC, MD, MH USER’S MANUAL

Table A-6. Instruction Set (Continued)

Mnemonic

 

 

 

 

Operation

 

 

 

 

Instruction Format

 

 

 

 

JNVT

JUMP IF OVERFLOW-TRAP FLAG IS

 

 

 

CLEAR. Tests the overflow-trap flag. If the

JNVT

cadd

 

flag is set, this instruction clears the flag and

 

(11010100) (disp)

 

passes control to the next sequential

 

 

 

 

instruction. If the overflow-trap flag is clear,

 

 

 

this instruction adds to the program counter

NOTE: The displacement (disp) is sign-

 

the offset between the end of this instruction

 

 

extended to 16 bits.

 

and the target label, effecting the jump. The

 

 

 

 

 

offset must be in range of –128 to +127.

 

 

 

if VT = 0 then

 

 

 

 

 

 

 

 

 

PC PC + 8-bit disp

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

 

N

 

C

V

VT

ST

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

JST

JUMP IF STICKY BIT FLAG IS SET. Tests

 

 

 

the sticky bit flag. If the flag is clear, control

JST

cadd

 

passes to the next sequential instruction. If

 

(11011000) (disp)

 

the sticky bit flag is set, this instruction adds

 

 

 

 

to the program counter the offset between the

 

 

 

end of this instruction and the target label,

NOTE: The displacement (disp) is sign-

 

effecting the jump. The offset must be in

 

 

extended to 16 bits.

 

range of –128 to +127.

 

 

 

 

 

 

 

 

 

 

 

 

 

if ST = 1 then

 

 

 

 

 

 

 

 

 

PC PC + 8-bit disp

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

 

N

 

C

V

VT

ST

 

 

 

 

— —

 

 

 

 

 

 

 

 

JV

JUMP IF OVERFLOW FLAG IS SET. Tests

 

 

 

the overflow flag. If the flag is clear, control

JV

cadd

 

passes to the next sequential instruction. If

 

(11011101) (disp)

 

the overflow flag is set, this instruction adds

 

 

 

 

to the program counter the offset between the

 

 

 

end of this instruction and the target label,

NOTE: The displacement (disp) is sign-

 

effecting the jump. The offset must be in

 

 

extended to 16 bits.

 

range of –128 to +127.

 

 

 

 

 

 

 

 

 

 

 

 

 

if V = 1 then

 

 

 

 

 

 

 

 

 

 

PC PC + 8-bit disp

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

 

N

 

C

V

VT

ST

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A-22

Page 411
Image 411
Intel 8XC196MD, 8XC196MH, 8XC196MC manual Jnvt Jump if OVERFLOW-TRAP Flag is