What is awful about it? It's a compressed encoding scheme and it has its uses.
-
-
-
Stupid constraints that make it near-impossible to use in inline-asm/codegen. See constraints for mov[s]...
-
movs rd,
#imm (rd must be low) movs rd,rm (both must be low) mov rd,rm (at least one must be high) -
In a post-capitalist society you will innovate out of the sheer joy of solving near-impossible problems :} Seriously though, yes I agree it's hard, something had to give to get the encoding into 16-bits, but does that make it awful?
#pedant -
The movs instruction is basically unconditionally (pardon the pun) useless. All forms should have been mov.
End of conversation
New conversation -
-
-
Ahhh, Cortex-M0 programming, how I DO NOT MISS YOU AT ALL.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.