Month: March 2023

Instruction of the Moment: Load On Condition (LOC)Instruction of the Moment: Load On Condition (LOC)

Learn or review instruction LOC today with some new notes that cover the basics, and a VisibleZ video that demonstrates the instruction in action. The notes include a list of suffixes that can be added to LOC to make coding the instruction easier. You can also find the new instructional materials on the IBM Mainframe Assembler tab.

Adding Binary Fields Without a RegisterAdding Binary Fields Without a Register

John Dravnieks kindly suggested adding ASI and AGSI to VisibleZ. David Staudacher suggested using LARL to load a base register in a few VisibleZ programs. Thanks to both of you for the great suggestions. You can watch ASI in action with LARL in the following video (and in the last table on the IBM Mainframe Assembler tab). The video illustrates adding a binary immediate constant to a binary fullword without using a register. AGSI, a sister instruction, works in a similar fashion on doubleword and can be viewed here and on the IBM Mainframe Assembler tab. I haven’t released the latest VisibleZ code which contains these instructions. I’m working on that.