Month: November 2024

Review an Idea: Using IBM Macros – Standard, List, ExecuteReview an Idea: Using IBM Macros – Standard, List, Execute

Take a few minutes to review an idea rather than an instruction today. In this article I discuss how to code prewritten IBM macros in Standard, List, and Execute formats, and why you might want to. The article comes with a program if you want to experiment with these ideas.

Review an Instruction: AGSIReview an Instruction: AGSI

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: ASIReview an Instruction: ASI

This little instruction comes with two surprises. I’ll tell you about one: It allows us to add two binary fields without a register! We could always add two packed fields without a register, but now we can do that with 2’s complement fields in memory. You’ll have to watch the ASI video to learn the other surprise.

So, have a cup of coffee, and review this humble but interesting little instruction.

Read about ASI here. Watch the Visiblez video here.