In CCSv5, with TM4C123GH6PGE,
when executing instruction ' movs r0, #0x80000000'
carry bit and negative bit is set.
Why these bits are set?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In CCSv5, with TM4C123GH6PGE,
when executing instruction ' movs r0, #0x80000000'
carry bit and negative bit is set.
Why these bits are set?
Bravo "Archaeologist." Questions should have (bit) more TM4C specific relevance. (I'll thus "defer" my question re: Pyramid alignment... my Archaeological Reference Manual (ARM) being currently unavailable)
We note that the MSb usually indicates "negative" when set - and that the TRM defines/describes all others...
Setting flags from a 'mov' instruction is an optional feature of the ARM/Thumb instruction set. The added suffix 's' specifies exactly that.
Look here: infocenter.arm.com/.../index.jsp
Condition flags
If S is specified, the instruction: