Skip to content

PowerPC: Error: Invalid operand if register operands have letters #12

@SuperSamus

Description

@SuperSamus

For instance, this fails to assemble:

lis r0, 0x3c08
ori r0, r0, 0x8889
stw r0, -4(r1)
lfs f1, -4(r1)

In order to make it assemble, it needs to be changed to:

lis 0, 0x3c08
ori 0, 0, 0x8889
stw 0, -4(1)
lfs 1, -4(1)

This issue only happens when assembling. When disassembling, the Assembly is with the letters.
Which makes assembling the disassembled Assembly fail.

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