src/machine_address_transfer.cpp
void Computer::executeENN(const InstructionWord& instruction, Register5* reg) {
    int32_t address = getIndexedAddress(instruction);
    reg->set(-address);
    if (address == 0) {
        reg->negative = !instruction.negative;
    }
}
/** Enter the negative immediate address value to rA or rX. */
Enter the negative immediate address value to rA or rX.
Enter the negative immediate address value to rA or rX .
void Computer::executeENN(const InstructionWord& instruction, Register5* reg) {
    int32_t address = getIndexedAddress(instruction);
    reg->set(-address);
    if (address == 0) {
        reg->negative = !instruction.negative;
    }
}
void Computer :: executeENN ( const InstructionWord & instruction , Register5 * reg ) { int32_t address = getIndexedAddress ( instruction ) ; reg -> set ( - address ) ; if ( address == 0 ) { reg -> negative = ! instruction . negative ; } }
Enter the negative immediate address value to rA or rX.
Enter the negative immediate address value to rA or rX .