What does LA R3,R3 ?



What does LA R3,R3 ?..

Answer / lan

Address of R3 - x'00000100'
Content of R3 - 00 00 00 00
After execution
Address of R3 - x'00000100'
Content of R3 - 00 00 01 00

It simple load the address of it's own as it's content

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Assembler Interview Questions

registers(0-15) ,where they are going be resides., does that mean here is it resides whether real or virtual memory? and why? then why we are assign even registers(0 to 6) for FP operations????

3 Answers  


What does "using" do?

0 Answers  


How are data passed from jcl parm to assembler program?

0 Answers  


How do you round the addition or subtraction of two numbers in assembler? what does the following code do? AP WKUR,=P'5' where WKUR is a label

3 Answers   CSC, IBM,


What does LA R3,R3 ?

1 Answers   Amdocs,






How we can Pass the parameters from JCL to assembler Pgm?

4 Answers   Tech Mahindra,


What does the following code do? Ap wkur,=p5 where wkur is a label?

0 Answers  


What is house keeping in assembler? And explain the following code HELLOTSO START 0 * PRINT NOGEN BEGIN SAVE (14,12) LR 12,15 USING TYPE,12 ST 13,SAVE+4 LA 11,SAVE ST 11,8(13) LR 13,11

6 Answers   Mind Tree,


In the house keeping section of an MVS assembly language program, like the one below STM R14,R12,12(R13) BASR R12,R0 USING *,R12,R11 LA R11,2048 LA R11,2048(R11,R12) .... .... 1. What if BASR R12,R0 IS NOT PRECEDE USING *,R12,R11? 2. USING (base address), REGISTER does USING directive says assembler to treat particular Register as a base register with the mentioned base address..in the above case * i.e current location counter..well if that is the case why we need BASR R12,R0 ? 3. What if I write like STM R14,R12,12(R13) BASR R12,R0 LA R11,2048 LA R11,2048(R11,R12) USING *,R12,R11 there is no address resolution being calculated in both LA statements so is it a right way to set Base register?..will there be any issues with Domain regarding R11 and R12?

0 Answers  


about maximum displacement and how to cross this limit.

2 Answers   EDS,


change process tool( code changes from dev to prd) The changes made to your code should be effected in live. how the process takes place. that is how can you move the code changes from development to production.

1 Answers   EDS,


explain icm instruction?

0 Answers   IBM,


Categories