










































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
CSA practical mostly about logic gates
Typology: Assignments
1 / 50
This page cannot be seen from the preview
Don't miss anything!











































i. Fetch instruction from memory. ii. Decode the instruction iii. Read the effective address from memory. iv. Execute the instruction The implementation of fetch routine: I. The transfer of the content from Program Counter register(PC,the register holding the next instruction) to address register(AR) II. Transferring the content of address register (AR) by enabling the memory in read mode to instruction register(IR).
ADD implementation All the the microinstruction are as follow:- I. I/O type microinstruction
III. Arithmetic type microinstrucion Register value before execution of machine instruction Register value after execution of machine instruction
SUB FORMAT All microinstruction i. I/O type instruction ii. Memory access instruction iii. Arithmetic instruction SUB’ IMPLEMENTION
Microinstruction: i.transferring the content if IR into AR{from 4th^ of IR by indexing toward left} ii.accepting input from the user that is held in AC(accumulator) iii.tranferring the content of AC into memory through Adderss register iv.transferring the content of DR to memory address v.accepting the second input from the user helding AC
VI.AND both the input provided by the user and stroing its anded term in AC vii. the output will be displayed Values of register before execution of machin`e instruction Values of register after the execution of machine instructions
Microinstruction: i.transferring the content if IR into AR{from 4th^ of IR by indexing toward left} ii.accepting input from the user that is held in AC(accumulator) iii.tranferring the content o f AC into memory through Adderss register iv.transferring the content of DR to memory address v.accepting the second input from the user helding AC
VI.OR both the input provided by the user and stroing its anded term in AC vii. the output will be displayed Values of register before execution:- Values after the execution:-
ii)taking not of AC and storing it AC III)displaying output Text file Values of register before execution Values after execution:
Not of AC =1111 0000 1111 0000 =0000 1111 0000 1111 4.)XOR Implementation Microinstruction:- i.)accepting input from the user that is held in AC(accumulator)
Values after execution: TEXT FILE I/O CONSOLE 5.NOR)
I .)accepting input from the user that is held in AC(accumulator) ii.tranferring the content of AC into memory through Adderss register iii.transferring the content of DR to memory address iv.accepting the second input from the user helding AC V.NOR both the input provided by the user and stroing its NORed term in AC