The register value annotation .reg.val informs the assembler of the contents of a register. It is used for dependency violations detection.
The annotation has the following syntax:
.reg.val reg, val
where:
reg |
Represents any integer register from r0 to r127. |
val |
Is any real number. |
Example below illustrates a .reg.val annotation.
Using the Register Value Annotation |
.reg.val r5,3 |