Please enable JavaScript.
Coggle requires JavaScript to display documents.
COMPUTER ORGANIZATION (VON NEUMANN ARCHITECTURE (Central Processing Unit…
COMPUTER ORGANIZATION
VON NEUMANN ARCHITECTURE
Central Processing Unit (CPU)
- Hardware that device instructions to fetch, decode, and execute
Arithmetic Logical Unit(ALU)
- Execute and perform computation
Control Unit(CU)
- Decode stored instruction
Busses
- Interconnect CPU, primary memory and devices.
Primary Memory Unit
- Store program and data that are operated by CPU
Device
- Used for input/output, communication and storage
INTERRUPT
What is INTERRUPT?
- Signal that cause control unit to branch to specific location to execute code to service the occurence of an external condition
- Way that a running program can be stopped to allow the OS to do something immedietly
-
When device busy -> FALSE, interrupt pending flag is set
-
-
-
DETECTING INTERRUPT
If there is interrupt , interrupt request flag will set to 1
-
Inform the interrupt handler,to disableinterrupts, use the Interrupt Enabled flag (hardware)
-
-
-
-
CONTROL UNIT(CU)
Contains of two register
(i) Program Counter (PC)
- Register that contains memory of next instructions to load
-
Has two phase operation
(i) Fetch phase
- Instruction retrieved from memory
(ii) Execute phase
- ALU operation, memory data reference, I/O.
PRIMARY MEMORY UNIT
-
To perform read operation
- Load MAR with address
- Load command register with "read"
- Data will appear in MDR
-
-
-
-
-
-