Question

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
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

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.

#### Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
• ### Instruction set architecture R: register X, Y, Op1, Op2: Operand Quantity: constant value EA: Effective memory...

Instruction set architecture R: register X, Y, Op1, 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 SHR Op Quantity AND X, Y OR X. Y XOR X, Y NOT X LOAD RA LOAD R. (A) STORERA STORE R. (A) Description Move data from Y to X Exchange Opl with Op2 X=X+Y X=Y-X Shift Arithmetic Left on Op for...