4.8.1 Obtaining a Program Address of a Symbol or Constant
The paddr()
operator can be used to obtain the program address of a constant or symbol. For example, if you wanted to set up an interrupt vector table without using the default naming conventions, you could use the paddr()
operator.
.section ivt, code
goto reset
.pword paddr(iv1)
.pword paddr(iv2)
...
These are 32-bit operations.