Question

In: Computer Science

Q1 A- What is a register? How registers work together with ALU and Control Unit to...

Q1

A- What is a register? How registers work together with ALU and Control Unit to execute a program? What is the fetch-execute cycle?

B- What is the difference to implement a control unit using microprogrammed or hardwired approaches? What is clock cycle? What are different addressing modes?

Solutions

Expert Solution

(1)(A)

(a)REGISTER: Registers are the smallest, fastest and costliest memory unit in the system. Registers are used to execute the instructions.

(b) ALU stands for Arithmetic and Logical Unit. It is used to perform arithmetic operations.ALU with the help of registers performs the arithmetic operations for loading and storing the data into the register.

EX: Load R1,2

Load R2,3

Add R1,R2

(c) The main task of the Control Unit is to take care of all the operations that occurs in the system.It controls the flow of the data in the processor.It also takes care of fetching, decoding, execution handling and storing the results.

(d)In the fetch phase the instruction that is to be executed present in the program counter register is loaded into the memory address register.Now the address that is present in the memory taken by the CPU for the execution.This is the execute phase of the instruction execution cycle.

(1)(B)

(a)Hardwired CU contains RISC instructions whereas in the microprogrammed CU contains CISC instructions.

(b)Hardwired works well for simple instructions.Microprogrammed CU works well for complex instructions also.

(c)Hardwired is costly and microprogrammed is not so costly to implement.

(d)Hardwired doesn't require control memory whereas microprogrammed requires control memory.

(e)In hardwired the execution is fast and microprogrammed the execution is slow.

Clock Cycle: It is term used to determine the speed of the processor.It is the time taken between two pulse of an oscillator.

Adressing Modes:

(a)Implied addressing mode

(b)Immediate addressing mode

(c)Register mode

(d)Register indirect mode

(e)Auto indexed mode(Increment mode)

(f)Auto Indexed mode (Decrement mode)

(g)Direct/ Absolute addressing mode

(h)Indirect addressing mode

(i)Indexed addressing mode

(j)Based indexed addressing mode


Related Solutions

Design ALU 64 bit, Control Unit 64 bit and 64 bit Data path. Show how three...
Design ALU 64 bit, Control Unit 64 bit and 64 bit Data path. Show how three of them related to each other.
what are the DKIM, SPF and DMARC? How they work together, try to explain them on...
what are the DKIM, SPF and DMARC? How they work together, try to explain them on real raw/original e-mails? Answer in details.
What is the difference between publicity and advertising? Discuss how they work together to sell a...
What is the difference between publicity and advertising? Discuss how they work together to sell a product. Identify a company you are familiar with. Are their publicity tactics effective? Why/why not? Are their advertising campaigns effective? Why/why not? What type(s) of media do they use to promote their product? Provide one suggestion on how they can improve their image through publicity, and one suggestion on how they can improve their advertising campaign.
Please show how work on how you got this answer. Q1: What will be the pressure...
Please show how work on how you got this answer. Q1: What will be the pressure (in mmHg) inside of a 50.0 L container that holds 7.00 moles of hydrogen gas at 0.0 C? Q2: Oxygen Gass is produced for use in a small-scale experiment by the catalytic decomposition of hydrogen peroxide: 2 H2O2 (aq) -------------------> 2 H2O (l) + O2 (g) If 50.0 mL of a 1.00 M solution of H2O2 completely decomposes and what volume of dry oxygen...
What is Demand Planning? What is Material Requirements Planning? How do they both work together? Please...
What is Demand Planning? What is Material Requirements Planning? How do they both work together? Please be detailed in your response.
how do the different facilities in health care work together?
how do the different facilities in health care work together?
Explain how the humoral immunity and cellular immunity work together.
Explain how the humoral immunity and cellular immunity work together.
Q1 A- How linear search and binary search work? What is their time complexity? B- What...
Q1 A- How linear search and binary search work? What is their time complexity? B- What is a single linked list? What are the pros and cons of the linked list when comparing to parallel arrays? Q2 A- What is a register? How registers work together with ALU and Control Unit to execute a program? What is the fetch-execute cycle? B- What is the difference to implement a control unit using microprogrammed or hardwired approaches? What is clock cycle? What...
What kind of neurons control skeletal muscles? What is a motor unit? How and why does...
What kind of neurons control skeletal muscles? What is a motor unit? How and why does the number and size of motor units differ in “precision” muscles versus “power” muscles.
How the digestive function of duodenum integrated with of the stomach? how do they work together:...
How the digestive function of duodenum integrated with of the stomach? how do they work together: digest many macronutrient components (fried food like chicken)?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT