Question

In: Computer Science

What is ALU and CU within the CPU? What is a Middleware? What are the functions...

What is ALU and CU within the CPU?

What is a Middleware?

What are the functions of MAR, MDR, IR, PC registers

Solutions

Expert Solution

What is ALU and CU within the CPU?

ALU (Arithmetic Logic Unit):

it is a digital circuit which is used to perform arithmetic and logical opertions such as
arithmetic operations:

addition
substraction
multiplication
division

logical operations:

logical AND
logical OR
logical NOT

it is the basic building block of the CPU.

CU (Control Unit):

it helps in the decode of the instructions such as the instructions might be data transfers or perform oprations on given operands etc..,
it plays a major role in the proper working of all the internal components of CPU.

What is a Middleware?

Middleware:

it is a software bridge which lies between an OS and applications running on it, which enables communication and data management.
in simple terms it is software program which converts one type of data other type of data which can be understood by target application or system.

some middlewares are:
GlassFish
Tomcat
JBoss etc..,

What are the functions of MAR, MDR, IR, PC registers

MAR(Memory Address Register):
it is to handle data transfers between RAM and processor.
it contain the address of main memory to which or from which data to be transferred.

MDR(Memory Data Register):
it is to handle data transfers between RAM and processor.
it contain the data to be read or data to written in the specified address of main memory.

IR(Instruction Register):
It contains the instruction that is currently being executed.
it is usally accessed by control unit to execute the instructions.

PC (Program Counter):
it cntains the address the current instruction being excuted once it has been executed it's been updated with address of the next instruction to be excuted, in this way it executes all the instructions.
it plays a major role in program sucussesful execution.


Related Solutions

Provide explanation on how the ALU is related to the CPU? Describe main functions of ALU...
Provide explanation on how the ALU is related to the CPU? Describe main functions of ALU in supporting operations of the system. Providing an example to illustrate or support your argument.
Include an explanation/description of function: CPU ALU BIOS GPU Volatile and Non-Volatile memory What is the...
Include an explanation/description of function: CPU ALU BIOS GPU Volatile and Non-Volatile memory What is the role of the OS?
What is the purpose of an alu repetetive sequence?
What is the purpose of an alu repetetive sequence?
The CPU within a computer system employs a split cache system in which the separate instruction...
The CPU within a computer system employs a split cache system in which the separate instruction and data caches are fully associative. A program runs on this system and writes to a memory mapped register that triggers an I/O device to begin writing a 32-bit value directly into memory at address 0x04CA0000 using DMA and bypassing the cache. The value first written by the device is 0x00001234 and every second thereafter the I/O device writes a new value (= old...
Computer Architecture 1.The C in CPU stands for what word? 2.The P in CPU stands for...
Computer Architecture 1.The C in CPU stands for what word? 2.The P in CPU stands for what word? 3.The U in CPU stands for what word? 4.What are the 3 major components of the CPU?
1. What are the role and functions of public relations within an organization? 2. Search the...
1. What are the role and functions of public relations within an organization? 2. Search the net for a good example of how a company handled a potentially bad situation regarding a product or service they provided. Next search for an example of how a company botched an event from a public relations standpoint. Please type short summaries of each example.
Write VHDL code for ALU 32bit. ALU must perform addition and subtraction. You are not allowed...
Write VHDL code for ALU 32bit. ALU must perform addition and subtraction. You are not allowed to use other libraries. Only this libraries are allowed to use: use library ieee; use ieee.std_logic_1164.all; Please do it correctly and include the comments for me to fully understand. Thank you.
Write VHDL code for ALU 32bit. ALU must perform addition and subtraction. You are not allowed...
Write VHDL code for ALU 32bit. ALU must perform addition and subtraction. You are not allowed to use other libraries only this is allowed to use library ieee; use ieee.std_logic_1164.all; Please write the comments for me to fully understand. Thank you.
(a) The 4 common ALU flags occur in most computers. Some computers have additional ALU flags....
(a) The 4 common ALU flags occur in most computers. Some computers have additional ALU flags. For example, the x86 flag set includes P, I, and H flags, and the ARM flag set includes T, F, and I. Select two of these additional flags, and research their purpose. Indicate, if appropriate, the logic used to calculate the flag value for a given ALU operation. (b) An ALU can be used to compare two values, by subtracting the values and consulting...
1. What is a CPU and what are some of it's main components ? What is...
1. What is a CPU and what are some of it's main components ? What is a GPU and what are some of its main components? 2. Explain the terms multi-processor, multi-core and many-core.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT