411 REFERENCE · Wikibooks
360 Assembly/360 Instructions/L
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
__TOC__
L - Load - Opcode 58 - RX format Instruction (32-bit)
Format
L 2,N2
L 11,106(8,10)
The specific syntax is
L target register,offset(index register,base register)
where the offset, index register, and base register values are determined automatically by the assembler if the USING pseudo-instruction is used and the target address label used is within 4096 bytes of the value of some base register.
Opcode
58
Availability
The L instruction is available on all models of the 360, 370 and z/System.
Operation
The L instruction reads a 32-bit integer value from the memory address specified by the argument and puts it to the register specified by the first argument. The high bits of a 64-bit register are unchanged.
The source argument address shall be aligned to word boundary (i.e. 4 bytes). The Condition Code field in the Program Status Word is not changed.
Exceptions and Faults
The source address must be within the range of valid memory or an operation exception occurs.
The source address must be aligned to a word boundary or an address exception occurs.
The storage key for the source address must be such that the location is readable by the current process (or the process must be privileged with a key of zero) or a memory protect violate exception occurs.
KXBR LA 57 X 59 C