src/machine_pesudo.cpp
void Computer::executeEQU(ParsedResult* instruction) {
    if (!instruction->address.evaluated()) {
        if (!instruction->address.evaluate(_constants)) {
            throw RuntimeError(_lineOffset, "Unresolved symbol found while parsing EQU: " + instruction->rawAddress);
        }
    }
    _constants[instruction->rawLocation] = AtomicValue(instruction->address.result().value);
}
/** Define a symbol and its corresponding value. */
Define a symbol and its corresponding value.
Define a symbol and its corresponding value .
void Computer::executeEQU(ParsedResult* instruction) {
    if (!instruction->address.evaluated()) {
        if (!instruction->address.evaluate(_constants)) {
            throw RuntimeError(_lineOffset, "Unresolved symbol found while parsing EQU: " + instruction->rawAddress);
        }
    }
    _constants[instruction->rawLocation] = AtomicValue(instruction->address.result().value);
}
void Computer :: executeEQU ( ParsedResult * instruction ) { if ( ! instruction -> address . evaluated ( ) ) { if ( ! instruction -> address . evaluate ( _constants ) ) { throw RuntimeError ( _lineOffset , " " + instruction -> rawAddress ) ; } } _constants [ instruction -> rawLocation ] = AtomicValue ( instruction -> address . result ( ) . value ) ; }
Define a symbol and its corresponding value.
Define a symbol and its corresponding value .