Skip to content
Commit 8aae4773 authored by cyrozap's avatar cyrozap
Browse files

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.
parent 413e24ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment