Texas Instruments TMS320C2XX Calculator User Manual


 
Instruction Set Comparison Table
B-30
Syntax
Description5x2xx2x1x
SBBB
Subtract ACCB From Accumulator With Borrow
Subtract the contents of the ACCB and the logical in-
version of the carry bit from the accumulator. The result
is stored in the accumulator; the accumulator buffer is
not affected. Clear the carry bit if the result generates
a borrow.
SBLK #
lk
[
, shift
]
Subtract From Accumulator Long Immediate
With Shift
Subtract the immediate value from the accumulator. If
a shift is specified, left shift the value before subtract-
ing. During shifting, low-order bits are zero filled, and
high-order bits are sign extended if SXM = 1.
SBRK #
k
Subtract From Auxiliary Register Short
Immediate
Subtract the 8-bit immediate value from the
designated auxiliary register.
SC
Set Carry Bit
Set the C status bit to 1.
SETC
control bit
Set Control Bit
Set the specified control bit to a logic 1. Maskable
interrupts are disabled immediately after the SETC
instruction executes.
SFL
Shift Accumulator Left
Shift the contents of the accumulator left one bit.
SFLB
Shift ACCB and Accumulator Left
Shift the concatenation of the accumulator and the
ACCB left one bit. The LSB of the ACCB is cleared to
0, and the MSB of the ACCB is shifted into the carry bit.
SFR
Shift Accumulator Right
Shift the contents of the accumulator right one bit. If
SXM = 1, SFR produces an arithmetic right shift. If
SXM = 0, SFR produces a logic right shift.
SFRB
Shift ACCB and Accumulator Right
Shift the concatenation of the accumulator and the
ACCB right 1 bit. The LSB of the ACCB is shifted into
the carry bit. If SXM = 1, SFRB produces an arithmetic
right shift. If SXM = 0, SFRB produces a logic right shift.
SFSM
Set Serial Port Frame Synchronization Mode
Set the FSM status bit to 1.