lis r3,CONFIG_SYS_DEFAULT_IMMR@h
Loads the high (upper) halfword (16 bits) of the immediate operand into the upper halfword of r3
. The @h
suffix is used to specify the high halfword of CONFIG_SYS_DEFAULT_IMMR
.
For example, if CONFIG_SYS_DEFAULT_IMMR
is equal to 0x12345678
the above instruction would load 0x1234
into the upper halfword of r3
.
lwz r4,0(r3)
Loads a word (32 bits) from the effective address (r3+0
) into r4
. If r4
is a 64-bit register it would additionally clear the upper word of r4
.