Validity: Rule, Task
This keyword provides access to an integer nonvolatile system register.
Syntax |
I32 nvr (n) |
---|---|
n |
Index of the retentive register nvr. Minimum representable number: 1 Maximum representable number: RTE.CFG Keyword: NUM_NVR Size: 4 Byte |
Attributes |
Bit-accessible |
Notes |
Registers keep their contents at power off (even in case of unintentional power failure) |
Example
; the nonvolatile register nvr(1) will contain the sum ; of the contents of register r(123) ; and the sine of the contents of register rr(1) ; multiplied by 100 nvr(1) = r(123) + 100 * sin(rr(1)) ; nvr(2) will contain the decimal value 56 nvr(2) = 56 |