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
Writing Reentrant Assembler CodeWriting Reentrant Assembler Code
Some programs run so often we take special efforts to make sure that only one copy of the program needs ...
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 ...
Instruction of the Day: UNPKInstruction of the Day: UNPK
Learn a new instruction today. Here’s a link to a short video that covers UNPK, the mainframe instruction that converts ...