If the type of a source operand is Register, pass the whole register object as the argument to eval() so the user can modify it if necessary.
This allows for interesting design choices, like writing to two registers in one instruction.
This also exposes the ID of the register to the user, which could be useful for debugging, error reporting, or measuring stats.
If the type of a source operand is
Register, pass the whole register object as the argument toeval()so the user can modify it if necessary.This allows for interesting design choices, like writing to two registers in one instruction.
This also exposes the ID of the register to the user, which could be useful for debugging, error reporting, or measuring stats.