Question
A BALR instruction appears in a program on line 00C. The instruction itself is 2 bytes long. The next line contains an assembly USING directive.
A BALR instruction appears in a program on line 00C. The instruction itself is 2 bytes long. The next line contains an assembly USING directive. There is a variable called FIELD1 defined at line 2DA.
(a) What is the displacement that will appear in an instruction which references FIELD1?
(b) Assume the BALR instruction reads BALR R10,0. What does this instruction do?
(c) What do we call R10?
(d) In order to refer to the register as R10, what must you include in your program?
(e) Given the above BALR instruction, how would you write the USING directive?
(f) What is the purpose of the USING directive?
(g) Assume the program is loaded at address 1F34BC. What will be the address of FIELD1?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started