You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently for li a0, 0xff000000 assembler will generate two instructions lui x10 1044480; addi x10 x10 0. The second instruction is practically a nop.
A simple check in assembling immediate instructions with the same register and value of zero (for addi, ori, xori, slli, srli, srai) should be enough for starters.
The text was updated successfully, but these errors were encountered:
Currently for
li a0, 0xff000000
assembler will generate two instructionslui x10 1044480; addi x10 x10 0
. The second instruction is practically a nop.A simple check in assembling immediate instructions with the same register and value of zero (for addi, ori, xori, slli, srli, srai) should be enough for starters.
The text was updated successfully, but these errors were encountered: