Please enable JavaScript to view this site.

This function is used to read or write (instruction) the third word (starting with the least significant) of the argument.

Reading:

Syntax

u16 w2 (real arg)

arg

Argument word.

From RTE 33.7.1 it can be any expression

Result

Returns the third word of the argument

Validity

Rule, Task

Note

From RTE 33.9.0 accessing a non-existing word returns an error

Writing (Instruction):

Syntax

w2 (real arg) = u16 value

arg

Word argument

value

Value to be imposed

Validity

Rule, Task

Note

This instruction cannot be used to set the value of a register (e.g., w2(r(1))=val)

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC