Fix instr_set_reg
Loading a 16-bit immediate only works when the destination register is r0-r7. To enable this function to set any one of the 32 general-purpose registers, convert this into a load-shift-add of 11-bit and 5-bit immediates.
Loading
Please register or sign in to comment