Jump to content

[Tutorial] Meanings Of Most Popular Codes In Assembling


14 posts in this topic

Recommended Posts

Updated (edited)

* Operations are:
• ADD operand1 + operand2
• SUB operand1 - operand2
• CMP operand1 - operand2, but result not written

• CMP compare operand1 and operand2

• CMN operand1 + operand2, but result not written
• MOV moves operand1 to operand2
• STR store operand1 in operand2
• LDR load operand2 in operand1

• NOP no operation

• BX LR end the function
this is the normal meaning here are some examples:
- ADD r0,r1,r2 ; r0 = r1 + r2
- SUB r0,r6,r5 ; r0 = r6 - r5
- CMP r0,r1 ; get the greater of r1,r0 in r0
- STR r0, [r1,#-200] store r0 at r1-200
Still working on it, might take more days to continue explaining.
if u want the meaning of other check this site:

Hidden Content

React or reply to this topic to see the hidden content & download link. 👀

--------------Press the green button if want to thank me -----------------

Updated by AliKr96
  • Like 26
  • Thanks 2
  • Agree 4
  • Informative 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines