src/machine_address_transfer.cpp
void Computer::executeINC(const InstructionWord& instruction, Register5* reg) {
    int32_t value = reg->value();
    int32_t address = getIndexedAddress(instruction);
    value += address;
    reg->set(checkRange(value));
}
/** Increase rA or rX by the address value.
 * 
 * @see overflow
 */
Increase rA or rX by the address value.

@see overflow
Increase rA or rX by the address value . @see overflow
void Computer::executeINC(const InstructionWord& instruction, Register5* reg) {
    int32_t value = reg->value();
    int32_t address = getIndexedAddress(instruction);
    value += address;
    reg->set(checkRange(value));
}
void Computer :: executeINC ( const InstructionWord & instruction , Register5 * reg ) { int32_t value = reg -> value ( ) ; int32_t address = getIndexedAddress ( instruction ) ; value += address ; reg -> set ( checkRange ( value ) ) ; }
Increase rA or rX by the address value.
Increase rA or rX by the address value .