The ability to load an address in assembler is a powerful tool. Working with an object from a distance (Load Address) rather than directly (Load) gives us the power of pointers and opens up the possibility of creating data structures. LA, an RX instruction, was the traditional instruction for working with addresses. LAY, an RXY-a instruction, offers some advantages over LA that you should consider. Read about the differences in these instructions here.
Why you should be using LAY
Categories:
Related Posts
Debugging AbendsDebugging Abends
I’ve added an introductory section on debugging to the main page. Currently, there are four videos and four abending programs ...
Need to Find the Right POPs Manual? Try this:Need to Find the Right POPs Manual? Try this:
You will also get a link for the z/Architecture Reference Summary that contains all the machine instruction formats, a listing ...
Review an Instruction: LAA (IBM Assembler)Review an Instruction: LAA (IBM Assembler)
The LAA (Load and Add) instruction packs two operations into one instruction. While you might not want to use it ...
