Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 502 Bytes

vi.c.4.9-instructions-that-take-a-field-of-a-class-as-an-argument.md

File metadata and controls

23 lines (18 loc) · 502 Bytes

VI.C.4.9 Instructions that take a field of a class as an argument

These instructions reference a field of a class.

<instr> ::=
<instr_field> <type> <typeSpec> :: <id>
<instr_field> ::= Derived from opcode.def
ldfld
| ldflda
| ldsfld
| ldsflda
| stfld
| stsfld

Examples:

ldfld native int X::IntField
stsfld int32 Y::AnotherField