Question

Instruction set architecture R: register X, Y, Opl, Op2: Operand Quantity: constant value EA: Effective memory address Opcode

Section V Consider the following instruction format and the list of opcodes code (0 .3 Address A(4..15 Opcode 0101 0110 0001

Run the following program where PC starts from 500 C. Memo Memo contents 000A 000B 000C 000D address 1100 1101 1102 1103 cont

13. A. Run the following program where PC starts from memory address 500. Upon completion of the program, which memory addres

Instruction set architecture R: register X, Y, Opl, Op2: Operand Quantity: constant value EA: Effective memory address Opcode Operation Name MOV X, Y XCH Opl, Op2 ADD X, Y SUB X,Y SAL Op, Quantity SAR Op, Quantity Shift Arithmetic Right on Op for Quantity SHR Op Quanti AND X, Y OR X, Y XOR X, Y NOT X LOADR, A LOAD R, (A STORE R, A STORE R, (A Description Move data from Y to X Exchange Op1 with Op2 ㄨㄧㄨㄨㄚ Shift Arithmetic Left on Op for Quantit Shift Right on Op for Quantity Perform bitwise AND operation and put the result in X Perform bitwise OR operation and put the result in X Perform bitwise XOR operation and put the result in X Perform bitwise NOT operation and put the result in X EA-A Direct memorv address EA = (A) W Indirect memory address EA = A Direct memory address EA (R) \I Indirect memory address
Section V Consider the following instruction format and the list of opcodes code (0 .3 Address A(4..15 Opcode 0101 0110 0001 0010 0011 0100 1101 1110 1001 1010 1011 1100 Instruction Load AC from memor Store AC from memory A Add AC from memory A Subtract AC from memory A Multiplv AC from memory A Divide AC from memory A Load AC from indirect memory address A Store AC from indirect memory address A Add AC from indirect memory address A Subtract AC from indirect memory address A Multiplv AC from indirect memory address A Divide AC from indirect memory address A A. Run the following program where PC starts from 500 Memor address 500 501 502 contents 5800 1801 6800 800 801 802 FFFE 000A B. Run the following program where PC starts from 500 Memo address 500 501 502 contents 5801 2802 6801 800 801 802 FFFE 000A FFFC
Run the following program where PC starts from 500 C. Memo Memo contents 000A 000B 000C 000D address 1100 1101 1102 1103 contents D800 9801 E800 address 500 501 502 1100 1101 1102 800 801 802
13. A. Run the following program where PC starts from memory address 500. Upon completion of the program, which memory address contents will be updated? ר500 501 502 800 B. Run the following program where PC starts from 500. Upon completion of the program, which memory address contents will be updated? 500 501 502 -800 15. C. Run the following program where PC starts from 500. Upon completing the program, which memory address contents will be updated? -800 801 802 1100
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. The only store instruction is the third instruction which store value of accumulator into address 800 hence the answer is 800.

2. Here again the third instruction is responsible for storing which modifies the value at address 801

3. Here the instruction store value of accumulator by indirect addressing hence it stores at the address which is contained in location 800 ( 1100 in this case) hence the answer is 1100.

Add a comment
Know the answer?
Add Answer to:
Instruction set architecture R: register X, Y, Opl, Op2: Operand Quantity: constant value EA: Effective memory address Opcode Operation Name MOV X, Y XCH Opl, Op2 ADD X, Y SUB X,Y SAL Op, Quantity...
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
ADVERTISEMENT