Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## dioscuri.module.cpu
Class Instruction_DAA

    java.lang.Object
      dioscuri.module.cpu.Instruction_DAA

All Implemented Interfaces:
  Instruction

    public class Instruction_DAA

extends java.lang.Object
implements Instruction

Intel opcode 27
DAA - Decimal adjust AL after addition.
This instruction adjusts the sum of two packed BCD values to create a packed BCD result. The AL register is the implied source and destination operand. Flags modified: AF, CF, SF, ZF and PF.

Constructor Summary
`Instruction_DAA()` Class constructor
`Instruction_DAA(CPU processor)` Class constructor specifying processor reference

Method Summary
`void` | `execute()` This instruction adjusts the sum of two packed BCD values to create a packed BCD result.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Instruction_DAA

    public Instruction_DAA()

  Class constructor

### Instruction_DAA

    public Instruction_DAA(CPU processor)

  Class constructor specifying processor reference

  Parameters:
    `processor` - Reference to CPU class

Method Detail

### execute

    public void execute()

  This instruction adjusts the sum of two packed BCD values to create a packed BCD result. The AL register is the implied source and destination operand.

  Specified by:
    `execute` in interface `Instruction`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD