Both instructions seem to set a value to a variable. I don't see a clear difference between both of them.
The documentation for SETA is given here: http://www.keil.com/support/man/docs/armclang_asm/armclang_asm_dom1361290022931.htm
The documentation for EQU is given here: http://www.keil.com/support/man/docs/a51/a51_st_equ.htm
SETA assigns to an assemble time variable which can reassigned multiple times. EQU sets a constant, which can not be changed, has the same value whenever it is referred, can in some cases be used before it is assigned, and can be section relative.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments