System information
Table 3-8. (continued)
Form with
Bit Value Example Meaning
ANA e3 ANA 1+1 Logical and reg with A, e3 as above.
XRA e3 XRA A Exclusive or with A, e3 as above.
ORA e3 ORA B Logical or with A, e3 defined as above.
CMP e3 CMP H Compare register with A, e3 as above.
DAA Decimal adjust register A based upon last arithmetic logic
unit operation.
CMA Complement the bits in register A.
STC Set the carry flag to 1.
CMC Complement the carry flag.
RLC Rotate bits left, (re)set carry as a side effect. High-order A
bit becomes carry.
RRC Rotate bits right, (re)set carry as side effect. Low-order A
bit becomes carry.
RAL Rotate carry/A register to left. Carry is involved in the
rotate.
RAR Rotate carry/A register to right. Carry is involved in the
rotate.
DAD e3 DAD B Double-precision add register pair e3 to HL. e3 must
produce B, D, H, or SP.
3.5 Operation Codes CP/M Operating System Manual
3-23