Nintendo DMG-01 Manual - Page 95
correct representation of Binary Coded Decimal BCD
View all Nintendo DMG-01 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 95 highlights
Game BoyTM CPU Manual 3.3.5. Miscellaneous 2. DAA Description: Decimal adjust register A. This instruction adjusts register A so that the correct representation of Binary Coded Decimal (BCD) is obtained. Flags affected: Z - Set if register A is zero. N - Not affected. H - Reset. C - Set or reset according to operation. Opcodes: Instruction Parameters DAA -/- Opcode Cycles 27 4 3. CPL Description: Complement A register. (Flip all bits.) Flags affected: Z - Not affected. N - Set. H - Set. C - Not affected. Opcodes: Instruction Parameters CPL -/- Opcode Cycles 2F 4 by DP Page 95
Game Boy
TM
CPU Manual
3.3.5. Miscellaneous
2.
DAA
Description:
Decimal adjust register A.
This instruction adjusts register A so that the
correct representation of Binary Coded Decimal (BCD)
is obtained.
Flags affected:
Z - Set if register A is zero.
N - Not affected.
H - Reset.
C - Set or reset according to operation.
Opcodes:
Instruction
Parameters
Opcode
Cycles
DAA
-/-
27
4
3.
CPL
Description:
Complement A register. (Flip all bits.)
Flags affected:
Z - Not affected.
N - Set.
H - Set.
C - Not affected.
Opcodes:
Instruction
Parameters
Opcode
Cycles
CPL
-/-
2F
4
by DP
Page 95