Skip to content

Support pseudo-instructions #17

@jbw3

Description

@jbw3

How should these be defined?

Exampe 1 (MIPS):

li $rd, IMMED[31:0]
------------------------
lui $rd, IMMED[31:16]
ori $rd,$rd, IMMED[15:0]
li = {
{ "lui", 0, {31, 16} },
{ "ori", 0, 0, {15, 0} }
};

Example 2 (MIPS):

blt $rs,$rt,Label
-------------------
slt $at,$rs,$rt
bne $at,$zero,Label

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