This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: .. @ Else Code Endif: Is this for signed or unsigned variable x? What if the condition was ( x > -3)? Inequality Conditions Summarised ARM has the full set of signed and unsigned inequality conditions. They can be confusing. After a CMP x,y or SUBS z,x,y , if x,y are the two operands, the 8 possible inequalities are shown in the table below It is important to choose the correct condition if the test is to work for all inputs, even though for positive numbers signed and unsigned comparisons are identical. Test Signed Unsigned x > y GreaTer GT HIgher HI x y Greater or Equal GE Higher or Same HS (= CS ) x y Less or Equal LE Lower or Same LS x < y Less Than LT LOwer LO (= CC )...
View Full Document
This note was uploaded on 12/20/2010 for the course CSC CSCC85 taught by Professor Lorincz during the Spring '10 term at University of Toronto- Toronto.
- Spring '10