A-23
INSTRUCTION SET REFERENCE
JVT JUMP IF OVERFLOW-TRAP FLAG IS SET.
Tests the overflow-trap flag. If the flag is clear,
control passes to the next sequential
instruction. If the overflow-trap flag is set, this
instruction clears the flag and adds to the
program counter the offset between the end
of this instruction and the target label,
effecting the jump. The offset must be in
range of –128 to +127.
if VT = 1 then
PC
← PC + 8-bit disp
JVT cadd
(11011100) (disp)
NOTE: The displacement (disp) is sign-
extended to 16 bits.
PSW Flag Settings
ZNCVVTST
———— 0 —
LCALL LONG CALL. Pushes the contents of the
program counter (the return address) onto
the stack, then adds to the program counter
the offset between the end of this instruction
and the target label, effecting the call. The
offset must be in the range of –32,768 to
+32,767.
SP
← SP – 2
(SP)
← PC
PC
← PC + 16-bit disp
LCALL cadd
(11101111) (disp-low) (disp-high)
PSW Flag Settings
ZNCVVTST
——————
LD LOAD WORD. Loads the value of the source
word operand into the destination operand.
(DEST)
← (SRC)
DEST, SRC
LD wreg, waop
(101000aa) (waop) (wreg)
PSW Flag Settings
ZNCVVTST
——————
LDB LOAD BYTE. Loads the value of the source
byte operand into the destination operand.
(DEST)
← (SRC)
DEST, SRC
LDB breg, baop
(101100aa) (baop) (breg)
PSW Flag Settings
ZNCVVTST
——————
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format