360 Assembly/360 Instructions/LGR

< 360 Assembly < 360 Instructions

LGR - Add Register - 64 Bit - Opcode B904 - RRE Instruction

Format

LGR 2,6

The specific syntax is

LGR target register, source register.
RRE Instruction (4 bytes)
Bytes 1 and 2 Byte 3 Byte 4
target register source register
(16 bits)
Opcode
B904
(8 bits)
Not used
(4 bits)

0..F
(4 bits)

0..F

Availability

The LGR instruction is 64-bit, and is only available on the 370 series and z/System. It will cause an opcode exception on the 360 series.

Operation

The LGR instruction copies a 64-bit value from the register specified by the second argument to the register specified by the first argument.

Condition codes are not changed.

Register 0 is valid for either register and is not ignored as in some other instructions.

Exceptions and Faults

32-Bit Instructions

64-Bit Instructions

Previous Instruction
LGHR
360 Assembly Instructions   Next Instruction
LH
Previous Opcode
B903
Next Opcode
B905
360 Assembly Language
360 Family Introduction · Basic FAQ · 360 Family · 360 Architecture
360 Instruction Set 360 Instructions · Branch Instructions · Data Transfer Instructions · Control Flow Instructions · Arithmetic Instructions · Logic Instructions · Shift and Rotate Instructions · Other Instructions
Syntaxes and Assemblers 360 Assemblers· Pseudo Instructions
Instruction Extensions Floating Point · High-Level Languages
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.