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
Instruction of the Day: MVOInstruction of the Day: MVO
MVO is an old instruction that has fallen out of use, replaced by SRP. Still, you will see it in ...
Help Me Write The Worst Program EverHelp Me Write The Worst Program Ever
I never got to meet John Erhman but we corresponded a little. He was kind enough to get me included ...
Elegant Machine Code:Elegant Machine Code:
... a series of blogs about solving problems with elegant, succinct assembler code - code that System z itself would ...

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