Instructions & Flag Settings
Instruction | Flag | ||
---|---|---|---|
C | OV | AC | |
ADD | X | X | X |
ADDC | X | X | X |
SUBB | X | X | X |
MUL | 0 | X | |
DIV | 0 | X | |
DA | X | ||
RRC | X | ||
RLC | X | ||
SETB C | 1 | ||
CLR C | 0 | ||
CPL C | X | ||
ANL C, bit | X | ||
ANL C, /bit | X | ||
ORL C, bit | X | ||
ORL C, /bit | X | ||
MOV C, bit | X | ||
CJNE | X |
- Affected flags are marked as X
- X denotes value of the flag
- Note: X can be 0 or 1
Related topics:
8051 Instruction Set Overview | 8051 Instruction Cycle | 8051 Machine Cycle | 8051 Instruction Set Summary | 8051 Arithmetic Operation Instructions | 8051 Logical Operation Instructions | 8051 Data Transfer Instructions | 8051 Boolean Variable Manipulation Instructions | 8051 Program Branching Instructions | 8051 Instruction Opcode | 8051 Instructions and Examples
List of topics: 8051
No comments:
Post a Comment