One thing that’s great about learning IBM assembler is that if you master one instruction, you often learn a handful of others by association. That’s the case with AGSI – Add Grande Storage Immediate, which is related to ASI. The G in AGSI suggests a register might be involved, but don’t be fooled. Both operands are in storage. The first operand is eight bytes – the size of a grande register,the second operand is a single immediate constant that occupies the second byte of the instruction. Get the details here. Watch the instruction in action with Visiblez here.
Review an Instruction: AGSI
Categories:
1 thought on “Review an Instruction: AGSI”
Leave a ReplyCancel reply
Related Posts
Elegant Machine Code:Elegant Machine Code:
... a series of blogs about solving problems with elegant, succinct assembler code - code that System z itself would ...
Review an Instruction: LTGR (IBM Assembler)Review an Instruction: LTGR (IBM Assembler)
We are loaded with Load instructions on IBM machines. Load and Test Grande Register is a useful instruction to keep ...
Bit by BitBit by Bit
Most programmers rarely give a second thought to the bit patterns their compilers generate. After all, they don’t need to. ...

With the massive (and ever growing!) instruction set it’s a really cool idea to review some of them. Thanks.