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
Staudacher Comment PostedStaudacher Comment Posted
David Staudacher added a great comment about the “standard” entry code I posted. His assembly listing was mangled by the ...
Debugging An S0C9 AbendDebugging An S0C9 Abend
Learn what causes and S0C9 abend and how to fix it. Watch this video and experiment with this code. ...
Instruction of the Day: LAInstruction of the Day: LA
You’ll need to master this instruction if you want to be an expert assembler programmer. LA can be used to ...
