Question

Assembly language Use this portion of the program to help you answer the questions BALR R6,0...

Assembly language

Use this portion of the program to help you answer the questions

BALR R6,0

USING *.R6

L R10,FIRSTNUM

L R12,NEXTNUM

CR R10,R12

BC 8,BYPASS  

AR R10,R12

ST R10,RESULT

B PROGEND

BYPASS SR R10,R12

ST R10,RESULT

PROGEND    END

FIRSTNUM DC F’15

NEXTNUM . DC . F'20'

RESULT . DS . F

1 /what register is being used as the base register and what value is stored at the time of assembly ?

2/ What will be stored in RESULT? Show what is happening along the way for partial credit

3/ explain what the instruction ‘BC   8,BYPASS’ is doing ?

4/how does the data appear in hexadecimal in RESULT ?

6/what is the purpose of the using assembly directive?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Ans1

Register R6 is being used as the base register because BALR is branch and Link Instruction Register and followed by R6 means address of next instruction and after R6 signifies address of next instruction .Thus R6 is base register and 0 value stored at the time of assembly.

Add a comment
Know the answer?
Add Answer to:
Assembly language Use this portion of the program to help you answer the questions BALR R6,0...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT