Computer Organization & Architecture
Computer Organization & Architecture
Architecture
Computer Organization
Memory
Computer system uses several memories for the storage of binary
information like RAM(Random Access Memory), ROM etc.
Control Unit
This unit directs other components of the computer system to
perform certain actions, such as directing the fetching of data or
instructions from memory to be processed by processed by the
ALU.
Man-Machine Interface
Input and output devices such as keyboard for input and display
monitor for output.
FA C3 FA C2 FA C1 FA C0
C4 S3 S2 S1 S0
(iii) increment microoperation : This microoperation
increments the one value of register.
For example:- R1<-R1+1
Logic circuit: binary’s incrmenter is the example of
increment microoperation.
Binary incrementer : The increment microoperation adds one to
a number in a register.
For example if a 4 bit register has a binary value 0110 , it will go to
the 0111 after increment. This microoperation is implemented with
a binary counter .every time the count enable is active, the clock
pulse transition increments the content of the register by one. Here
4 bit combinational circuit has implemented.
The circuit receives the four bits A0 to A3 ads one to it and
generates the incremented output S0 through A3.
The circuit receives the four bits A0 to A3 ads one to it and
generates the incremented output S0 through A3.
A3 A2 A1 A0 1
x y x y x y x y
HA HA HA HA
C S C S C S C S
C4 S3 S2 S1 S0
(iv) Decrement Microoperation: This microoperation
decrement one values from value of register.
For example: R1 R1-1
B’ is the symbol of the 1’s complement of B. adding 1 to
the 1’s complement gives the 2’s complement of B.
F A+B Content of A plus B transferred to F.
F A-B Content of A minus B transferred to F.
B B’ Complement register B.
B B’+1 Forms the 2’s complement.
F A+B’+1 A plus 2’s complement of B.
A A+1 Increment A
A A-1 Decrement A
ARITHMETIC CIRCUIT
Subtraction: We know that to subtract any number , 2’s complement of that number is added.2’s
complement is equal to the 1’s complement +1.
Increment :- when the S0S1=10 the third input 0 is passed to each Y input of adders.
If Cin=0 then D=A
If Cin =1 then D=A+1
– Selective-set AA+B
– Selective-complement AAB
– Selective-clear A A • B’
– Mask (Delete) AA•B
– Clear AAB
– Insert A (A • B) + C
– Compare AAB
SELECTIVE SET
1 1 0 0 At
1010 B
1 1 1 0 At+1 (A A + B)
1 1 0 0 At
1010 B
0 1 1 0 At+1 (A A B)
1 1 0 0 At
1010 B
0 1 0 0 At+1 (A A B’)
1 1 0 0 At
1010 B
1 0 0 0 At+1 (A A B)
• In a clear operation, if the bits in the same position in A and B are the
same, they are cleared in A, otherwise they are set in A
1 0 1 0 At
1010 B
0 0 0 0 At+1 (A A B)
Timing signal
INSTRUCTION CYCLE:
(6) BSA: branch and save return address: this instruction is useful
for branching to a portion of the program called subroutine or
procedure .when executed , the BSA instruction stores the address
of next instruction in sequence into a memory location specified by
the effective address.
D5T4: M[AR] PC , AR AR+1
D5T5 :PC AR,SC 0
(7) ISZ: increment and skip if zero:- this instruction
increments the word specified by the effective
address and if the incremented value is equal to
zero, PC is incremented by 1.
D6T4: DR M[AR]
D6T5:DR DR+1
D6T6 M[AR] DR, if DR=0
then PC PC+1, SC 0
(3) Input –output Instruction :- input-output
instructions have an operation code 1111 and are
recognized by the control when D7=1 and I=1
Timing and control :