A-31
INSTRUCTION SET REFERENCE
RST RESET SYSTEM. Initializes the PSW to zero,
the PC to 2080H, and the pins and SFRs to
their reset values. Executing this instruction
causes the RESET# pin to be pulled low for
16 state times.
SFR
← Reset Status
Pin
← Reset Status
PSW
← 0
PC
← 2080H
RST
(11111111)
PSW Flag Settings
ZNCVVTST
000000
SCALL SHORT 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 –1024 to
+1023.
SP
← SP – 2
(SP)
← PC
PC
←PC +11-bit disp
SCALL cadd
(00101xxx) (disp-low)
NOTE: The displacement (disp) is sign-
extended to 16-bits.
PSW Flag Settings
ZNCVVTST
——————
SETC SET CARRY FLAG. Sets the carry flag.
C
← 1SETC
(11111001)
PSW Flag Settings
ZNCVVTST
—— 1 ———
Table A-6. Instruction Set (Continued)
Mnemonic Operation Instruction Format