I have just started assembler coding. Just wanted to know about LA instruction. When LA instruction specifies to a level, what does it mean.
For ex. LA R3,LBL1 - it will load the address of LBL1 to R3
LBL1 MVC instcr
LBL2 SH instrc
What I wanted to know is how the flow will go? R3 will have the address of LBL1 means the LBL1 and LBL2 level will be executed? Then it will branch to DSSM?
Joined: 06 Jun 2008 Posts: 8212 Location: Dubuque, Iowa, USA
Your post is pretty much incomprehensible since you seem to be mixing up multiple things at the same time, and you are not using the CODE button to make your code clear. Furthermore, you didn't include all of the code -- when you posted
for example -- where is DSSM label? What do you mean when you say "level" -- that term has a specific meaning on mainframes, but that meaning doesn't appear to be related to however you are using the term.
Do you understand the difference between the ADDRESS of a memory location and the CONTENTS of that memory location? If you don't understand this, you cannot understand the difference between LA and L instructions.