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

IBM Z Day 18 October 2023IBM Z Day 18 October 2023
Register here for IBM Z Day. It’s a free online conference where you are sure to find something of interest. ...
Instruction of the Day: LInstruction of the Day: L
Listen to the lesson of the day here. You can find all the assembler resources here, and all the VisibleZ ...
Two’s Complement for ProgrammersTwo’s Complement for Programmers
Are you new to two’s complement data? Need to brush up your skills? I’ve posted a new article on the ...