We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all,
When the arithmetic and logical instruction like SUBS, LSLS are executed the processor flag will be updated.
Can somebody point to the document where the information on affected flags of each instructions are specified ?
Hi,
You can find all this detail in the relevant ARM Architecture Reference Manual (ARM ARM). That contains detailed descriptions of the operation of each instruction, including how the flags are affected. Make sure you are looking at the right ARM ARM for your particular device as there are separate editions for ARMv7-AR, ARMv7-M and ARMv8-A.
Hope this helps.
Chris
Hi chris,
Thanks for the reply.
Some Pseudo code is provided on the execution of each instructions. Is it any programming language ?
No, it isn't any specific programming language. It is a formal description language which ARM has defined for the purpose of specifying behaviour in the Architecture Reference Manual. Most of it is self-explanatory but all elements are defined within the manual where necessary.