3/24/97 2-16 Architectural Overview
Other instructions on the XA use different operand combinations. All XA instructions are
covered in detail in the Instruction Set section. Following is a summary of other instruction
types:Additional arithmetic instructions
Additional arithmetic instructions
ADDS Add short immediate (4-bit signed value).
NEG Negate (twos complement).
SEXT Sign extend.
MUL Multiply.
DIV Divide.
DA Decimal adjust.
ASL Arithmetic shift left.
ASR Arithmetic shift right.
LEA Load effective address.
Additional logic instructions
CPL Complement (ones complement or logical inverse).
LSR Logical shift right.
NORM Normalize.
RL Rotate left.
RLC Rotate left through carry.
RR Rotate right.
RRC Rotate right through carry.
Other data movement instructions
MOVS Move short immediate (4-bit signed value).
MOVC Move to or from code memory.
MOVX Move to or from external data memory.
PUSH Push data onto the stack.
POP Pop data from the stack.
XCH Exchange data in two locations.
Bit manipulation instructions
SETB Set (write a 1 to) a bit.
CLR Clear (write a 0 to) a bit.
MOV Move a bit to or from the carry flag.
ANL Logical AND a bit (or its inverse) to the carry flag.
ORL Logical OR a bit (or its inverse) to the carry flag.
[R+], #data The source operand is an 8 or 16-bit immediate value, the
destination operand is indirect with auto-increment.
[R+offset], #data The source operand is an 8 or 16-bit immediate value, the
destination operand is indirect with an 8 or 16-bit offset.
direct, #data The source operand is an 8 or 16 bit immediate value, the
destination operand is a direct address.
Operands Description