Size

The size of the load or store is determined by the register type X or W and the <Size> field. X is used for 32 bits and W is used for 64 bits. For example, this instruction loads 32 bits from <address> into  W0:

LDR	W0, [<address>]

This instruction loads 64 bits from <address> into X0:

LDR	X0, [<address>]

The <Size> field allows you to load a sub-register sized quantity of data. For example, this instruction stores the bottom byte (B) of W0 to <address>:

STRB	W0, [<address>]

This instruction stores the bottom halfword (H) of W0 to <address>:

STRH	W0, [<address>]

Finally, this instruction stores the bottom word (W) of X0 to <address>:

STRW	X0, [<address>]

 

Previous Next