This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Instruction Set

I am fairly new to ARM. The documentation for the Instruction Set is pretty lacking. I am looking for any documents available that will show all the instruction set of the ARM, and especially, showing how the flags are affected. As it is I have discovered it to be very strange that the carry flag acts as it should with the ADD instruction but is the opposite for the SUB instruction. Is there anyone out there who can shed some light on this issue? I have documentations from ST, Atmel, and ARM on the instruction set but now of them explains how the carry flag is affected by the SUB instruction.