简体   繁体   中英

Proper usage of ARMv6 equates: .equ .reg .set

Using the GNU Assembler Manual, v2.19.51, I was not able to find a definitive difference between these types of equates:

  • .equ
  • .reg
  • .set

Does anyone know the difference and proper usage?

.equ and .set are documented to be the same. I was not able to find any mention of .reg , where did you see that? There is however a .req which defines register aliases, as opposed to the other two which define symbols.

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