8XC196MC, MD, MH USER’S MANUAL
A-24
LDBSE LOAD BYTE SIGN-EXTENDED. Sign-
extends the value of the source short-
integer operand and loads it into the
destination integer operand.
(low byte DEST)
← (SRC)
if DEST.15 = 1 then
(high word DEST)
← 0FFH
else
(high word DEST)
← 0
end_if
DEST, SRC
LDBSE wreg, baop
(101111aa) (baop) (wreg)
PSW Flag Settings
ZNCVVTST
——————
LDBZE LOAD BYTE ZERO-EXTENDED. Zero-
extends the value of the source byte operand
and loads it into the destination word
operand.
(low byte DEST)
← (SRC)
(high byte DEST)
← 0
DEST, SRC
LDBZE wreg, baop
(101011aa) (baop) (wreg)
PSW Flag Settings
ZNCVVTST
——————
LJMP LONG JUMP. 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 the range of –32,768 to
+32,767.
PC
← PC + 16-bit disp
LJMP cadd
(11100111) (disp-low) (disp-high)
PSW Flag Settings
ZNCVVTST
————— ?
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format