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
The Way ForwardThe Way Forward
You’ve taken the plunge. You’re familiar with the organization of memory, the PSW contents, the purpose of Registers, and ...
Something Different: Visual Prompts for LoadsSomething Different: Visual Prompts for Loads
This week, instead of an article about one instruction, I give you a visual depiction of the eleven load operations ...
Making PlansMaking Plans
I’ll be teaching an assembler class again in spring semester at Columbus State University, so lately I’ve been thinking about ...
