4/17/98 6-15 Addressing Modes and Data Types
Table 6.4 summarizes the status flag updates for the various XA instruction types.
Table 6.4 Status Flag Updates
Notes:
-: flag not updated.
X: flag updated according to the standard definition.
*: flag update is non-standard, refer to the individual instruction description.
Note: Explicit writes to PSW flags takes precedence over flag updates.
Instruction Type
Flags Updated
CACVNZ
ADD, ADDC, CMP, SUB, SUBB X X X X X
ADDS, MOVS - - - X X
AND, OR, XOR - - - X X
ASR, LSR * - - X X
branches, all bit operations, NOP - - - - -
Calls, Jumps, and Returns - - - - -
CJNE X - - X X
CPL - - - X X
DA * - - X X
DIV, MUL * - * X X
DJNZ - - - X X
LEA -----
MOV, MOVC, MOVX - - - X X
NEG - - X X X
NORM - - - X X
PUSH, POP - - - - -
RESET * * * * *
RL, RR - - - X X
RLC, RRC * - - X X
SEXT - - - - -
TRAP, BKPT - - - - -
XCH -----
ASL * - X X X