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.
Hello,
I'm looking at the condition codes. However, I'm not entirely sure how they work. I've looked at the online manual on this site (e.g.http://www.keil.com/support/man/docs/armasm/armasm_dom1359731161338.htm) but am still uncertain.
What exactly does something like
BGE NV + N'V' signed >= mean?
Thank you
Combinations of codes determine if the instruction executes or not. It is cheaper than branching in a pipe-lined processor. If the condition is false, instruction acts like a NOP
>>but am still uncertain
If you are uncertain perhaps assemble a few examples and simulate them or single-step so it starts making sense. Get a teacher or colleague go over the logic with you.
>> NV + N'V'
(N AND V) OR (!N AND !V) // basically if (N == V) done with logic gates