Skip to content

Latest commit

 

History

History
23 lines (11 loc) · 933 Bytes

dot.md

File metadata and controls

23 lines (11 loc) · 933 Bytes

Asmc Macro Assembler Reference

operator .

expression. field [[. field]]...

[register]. field [[. field]]...

The first operator returns expression plus the offset of field within its structure or union.

The second operator returns value at the location pointed to by register plus the offset of field within its structure or union.

Indirection

In Asmc the unary indirection operator (.) may also accesses a value indirectly, through a pointer. The operand must be a pointer type. The result of the operation is the value addressed by the operand; that is, the value at the address to which its operand points. The type of the result is the type that the operand addresses.

The result of the indirection operator is type if the operand is of type pointer to type. If the operand points to a function, the result is a function designator.

See Also

Operators Reference