Documente Academic
Documente Profesional
Documente Cultură
of the
BC, DE, HL, or SP register pairs, putting the result in HL. It takes a single operand which may be B, D, H,
or SP. The carry flag is set to indicate overflow.
The DAA instruction (Decimal Adjust Accumulator) allows conversion of the 8-bit accumulator value to
Binary Coded Decimal (BCD). If the low-order 4 bits of the accumulator are greater than 9, or the
auxilliary carry flag is set, 6 is added to the low-order 4 bits of accumulator, then if the high-order 4 bits of
the accumulator are greater than 9, or the carry flag is set, 6 is added to the high-order 4 bits of the
accumulator.
8085 / 8085A
Mnemonics Opcode Instruction Set Table
with Description
|S |S | |Sign (Bit 7) |
|Z |Z | |Zero (Bit 6) |
|P | P | |Parity (Bit 2) |
| CY | C| |Carry (Bit 0) |
| n nn |Immediate addressing |
|r |Register addressing |
| A B C D E H L |Registers (8-bit) |
|r |Register (X=B,C,D,E,H,L,M,A) |
|z |Vector (X=0H,8H,10H,18H,20H,28H,30H,38H)|
|+ - |Arithmetic addition/subtraction |
|v x |Logical inclusive/exclusive OR |
| <-> |Exchange |