gavofyork / graypaper

The JAM Specification
101 stars 37 forks source link

Consistent register use for instructions with two regs and one immediate #59

Closed koute closed 1 month ago

koute commented 1 month ago

Currently the register usage of reg_imm2 instructions is inconsistent:

This PR aligns the instructions to always use r_A as the destination register (or in case of the store_* instructions as the source register).