



































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of computer architecture, focusing on instruction execution and data transfer. It covers various instruction formats, the instruction cycle, and the role of registers and memory in processing data. The document also discusses the connection of registers and memory to a common bus system.
Typology: Lecture notes
1 / 75
This page cannot be seen from the preview
Don't miss anything!




































































5
Op. Code Address 15 12 11 0 instruction data 15 12 11 0 Not an instruction
(^) No Operands HALT NOP (^) 1 operand NOT R4 R4 R (^) 2 operands ADD R1, R2 R1 R1 + R (^) 3 operands ADD R1, R2, R3 R1 R2 + R (^) > 3 operands MADD R4,R1,R2,R3 R4 R1+(R2*R3) (^) Each specify one operation and 1,2, 3 or 4 data locations.
Instructions are read from memory as words Instructions can be formatted to fit in one or more memory words. An instruction may contain
The address register is connected to the memory
000000000010
Direct and Indirect addressing example Addressing Mode
17 Bus s 0 s 1 s 2 16-bit common bus Clock LD LD LD INR OUTR IR INPR LD INR CLR LD (^) INR CLR LD (^) INR CLR LD INR CLR WRITE Address Adder & Logic E DR PC AR CLR 7 1 2 3 4 5 6 Computer System Architecture, Mano, Copyright (C) 1993 Prentice-Hall, Inc. AC Mano’s Computer Figure 5- READ Memory Unit 4096x TR
(^) Data Register( DR ) : hold the operand(Data) read from memory Accumulator Register( AC ) : general purpose processing register (^) Instruction Register( IR ) : hold the instruction read from memory (^) Temporary Register( TR ) : hold a temporary data during processing Address Register( AR ) : hold a memory address, 12 bit w idth
Program Counter( PC ) : (^) hold the address of the next instruction to be read fro m memory after the current instruction is executed (^) Instruction words are read and executed in sequence u nless a branch instruction is encountered (^) A branch instruction calls for a transfer to a nonconsec utive instruction in the program (^) The address part of a branch instruction is transferred to PC to become the address of the next instruction To read instruction, memory read cycle is initiated, and PC is incremented by one(next instruction fetch)