简体   繁体   中英

What do @ and # mean in ARM Assembly Language?

  1. What do the characters @ and # mean in ARM assembly language?

  2. What does this function do?

    add r0, r0, #5

在此处输入图片说明

The character @ starts a comment.

The character # can be used for immediates (numbers) or if it stands at the first position of a line the whole line is counted as a comment.

See here .

what does this function do?

add r0, r0, #5

This function adds 5 to the register r0. It is the equivalent to r0 += 5 or r0 = r0 + 5 in other languages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM