Skip to content

Pass a Register object instead of just its value to eval #4

@purag

Description

@purag

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions