Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
CMP vc EORS
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
2531 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
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
CMP vc EORS
Etienne SOBOLE
over 12 years ago
Note: This was originally posted on 28th June 2011 at
http://forums.arm.com
Can anybody explain me why this code
cmp r0, r1
bne .exit
is not equivalent to
eors r2, r0, r1
bne .exit
except that r2 is changed of course !!!
Is the Z flag set when the destination register value is 0 ?
Parents
Etienne SOBOLE
over 12 years ago
Note: This was originally posted on 28th June 2011 at
http://forums.arm.com
Ok.
For the second time in a week, I was wrong and finally found my problem...
sorry, the 2 codes are equivalent.
Cancel
Vote up
0
Vote down
Cancel
Reply
Etienne SOBOLE
over 12 years ago
Note: This was originally posted on 28th June 2011 at
http://forums.arm.com
Ok.
For the second time in a week, I was wrong and finally found my problem...
sorry, the 2 codes are equivalent.
Cancel
Vote up
0
Vote down
Cancel
Children
No data