Question: 2 . Write the following operations in RTN: a . AddI X b . JnS X 3 . Write the RTN and the control signals

2.Write the following operations in RTN:
a. AddI X
b. JnS X
3.Write the RTN and the control signals generated to carry out the following operations:
a. Subt X :
b. LoadI X: 1. What are the MARIE assembly instructions and machine code for the following program:
Subtract 10 from 38, store the result into memory location 210.
Then add 25 to the result, store it into memory location 211.
Assume 38 is stored in memory location 150,10 is stored in location 151, and 25 is stored in 152. Write the program how it would be stored in memory, use one column for the address of the instruction, another for the assembly instruction, and a last column for the machine instruction.
2 . Write the following operations in RTN: a .

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!