

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Loads the address SAVEAREA into register 2 L R2,SAVEAREA Loads the four byte number at address SAVEAREA into R2. This is the contents of the address, not the address. The L command is a “Load Fullword”, so it gets 32 bits or 4 bytes. The bytes loaded are from addresses SAVEAREA SAVEAREA+ SAVEAREA+ SAVEAREA+
Loads the two byte number at address SAVEAREA into R2. This is the contents of the address, not the address. The L command is a “Load Halfword”, so it gets 16 bits or 2 bytes. The bytes loaded are from addresses SAVEAREA SAVEAREA+ Think of an array declared as Type Array[Length] The assembler address is similar to the index of the array The assembler contents is similar to the contents of the array entry.