bluestar
bluestar

Reputation: 21

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:

Does anyone know the difference and proper usage?

Upvotes: 1

Views: 788

Answers (1)

Jester
Jester

Reputation: 58762

.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.

Upvotes: 2

Related Questions