Question
Part I Write a short program of five to ten lines in MARIE assembly language to accomplish something. For example: Write a program in MARIE
Part I Write a short program of five to ten lines in MARIE assembly language to accomplish something. For example: Write a program in MARIE assembly language to evaluate the expression:A=B+C-D We suppose that the program start at address 100 hexadecimal in the main memory and the content of the variables A,B,C,D are at the addresses 200,201,202,203 hexadecimal You can implement any another example if you want. Part II Suppose you wanted to implement a control unit for a computer that you are designing. Would you use a hardwired implementation or a micro-programmed control unit? Why? What factors in the computer design would affect your decision? Part III
A digital computer has a memory unit with 32 bits per word. The instruction set consists of 132 different operations. All instructions have an operation code part (opcode), and an address part (allowing for only one address).
Each instruction is stored in one word of memory.
How many bits are needed for the opcode? ________
How many bits are left for the address part of the instruction? _______
What is the maximum allowable size for memory? _______
Suppose that a 4 M x 32 bits main memory is built using 512 K x 8 bits RAM chips and memory is word addressable.
How many RAM chips are necessary? ______
How many RAM chips are needed for each memory word? _______
How many address bits are needed for each RAM chip? _______
How many address bits are needed for all memory? _______
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