Skip to content

RxIn registers have REG_OUT flag set. #59

Description

@Rot127

Rx and RxIn are set separately in hi->ops although they are the same register (Rx registers are used for input and output).
But the register attribute for RxIn is set to HEX_OP_REG_OUT although it is an "in" register.

The attribute is falsely assigned here:

if op.is_out_operand:
code += "hi->ops[{}].attr |= HEX_OP_REG_OUT;\n".format(op.syntax_index)

Currently the attributes are not used. So there is not much damage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions