Computer Organisation
Computer Organisation
PART-A (2 MARKS)
MWhat are data types?
Data are numbers and other binary coded information tho
operated on to achieve required computational results.
The data types found in the registers of digitalcomputers are class
into three categories
Numbers used in arithmetic computations,
A. Letters of the alphabet used in data processing.
n. Other disrete symbols used for spccific
purposes
ADistinguish betweeri Nibble" and Byte".
Innumber systemn group of four bits is
eight bits is known as Byte. known as Nibble and grour
AName various
Number systems? Give examples.
(A number system is a set of
from a common base. or
symbols used to represent values deri.
following categories radixyNumber systems can be classified
i Decimal
number system - 320
i. Binary number
system - 100000,
Ai. Octal number
iK.
systen 40,
Hexadecimal number system 20,,
Why do digital computers use
operation? binary numbers for their
(Computers use voltages and since no
specific voltage is set
number the decimal system. For this
in for e
reason, binary is
state system i.e. on or
ofAlso, to keep calculations measured as atw
binary online, computers use the binary simple and conve
number systen1.
sState the two rules followedin 2's
In 2's complement notation, the complement negation.
negaion of an integer can be forme
with the following rules:
Data Representation 1.27
Take the Boolcan complement of each bit of the intepef (including
the sign bit)/That is, set each Ito Oand each 0to )
4 Treating the result as an unsigned binary integer,add .
67Convert the decimal number 61.3 to binary.
2 61
30
0.3 *2 =0.6
2 1S 0.62- 2 1
Ans: 111101.01001
3. Define RTL.
The symbolic notation used to describe the micro-operation trenster
amang registers iscalled Register Transfer Language (RTL). )
g. What is a Register?
Registers are the memory units. They store, accept and transfer data
and instruction that are being used immediately.
5. Define control function. Give example
(Control function is a boolean variable that is equal to 0or
control function is included in the statement as
P: R2 + RI
2.20
Computer Organizol.
Control function is terminated by a colon) It shows that the tr
operation can be executed by the hardware only if P-1.
6.What are internal and external bus?
Internal Bus:t connects all the internal computer components tr
CPUand main memory. It is also callcd as system Bus) System bus r.
to the following:
Data Bus The data bus is used to transfer the data from CP
memory, or memory to CPU. It is bidirectional.
Address Bus/ This is used by CPU to transfer information t
specific location. It is unidirectional.)
iëControl bus:(This bus is used to transmit the information which
necessary to control and coordinate the operation of the compu
Example :read, write, interrupt, etc.
External Bus It connects the external devices with the
system. compu:
I What is a tri-state bus buffer?
A bus system can be
constructed with three-state gates instead
multiplexers. three-state gate isa digital circuit that exhibits three state:
A
Two of the states are signals
conventional gate and the third state equivalent
to logic 1 and 0 as in
is a high-impedance state.
8) List the types of Micro operations.
A Register Transfer
Micro-operations
Transfer binary information from one register to
another.
H Arithmetic Micro-operations
Perform arithmetic operation on numeric data stored in
registers.
H. Logical Micro-operations
Perform bit manipulation operations on non-numeric data storedit
registers.
j Shift Micro-operations
Perform shift operations on data stored in registers.
Register Transfer and Micro operations 2.21
DESCRIPTIVE QUESTIONS
PART- B (5 MARKS)
1. Define and explain following terms. RTL and Micro-operation
2. Discuss on the block diagram of a Register.
3. Explain three state bus buffer with a diagram.
4. Write a note on Memory transfer.
5 Explain arithmetic micro operations with example.
PART - C (10 MARKS)
1. Design Bus system for Four-bit register using 4x1 Mux.
2. List outthe Register transfer notations for Arithmetic Micro
Operations.
3. Explain the logical micro operations which manipulates individual
bits of word in register with examples.
4.
Explain the shift micro operations with examples.
ESTIONS AND ANSWERS
PART - A (2 MARKS)
1. Defne CPU.
The main part of the performs the bulk of dat:
processing operations is calledcomputer that processing unit and is referr
the central
to as the CPU.
2. What are the
components of CPU?
CPU consists of three main components namely Arithmetic Log
Unit (ALU). Control Unit and
3.
Registers.
What is an ALU?
ALU performs the required micro operations for executing
arithmetic and logical instructions.
4. What is the function of the
control unit?
The function of the control unit is to fetch the instruction store:
RAM (Random ACcess Memory), identify the operations and
device involved in it and accordingly generate control signal.
The control unit supervises the transfer of
information among
registers and instructs the ALUas to which operation to perfor
5. Define Stack
A stack is a storage device that stores
that the item stored last is the first item information in such a m
retrieved.
6. What are the operations of stack?
The twooperations that are performed on stack are the
and Pop(deletion).
Push (inse
7. What is Reverse Polish notation?
Give example.
The postfix notation is referred to as Reverse Polish
The operator is placed after the operands.
notation (N
Example: atb is written in postfix form as ab+.
8. What are the common fields found in the Instruction forma
An operation code: Itspecifies the operation to be perform
Cental Processing Unit 3.37
Example :
Complement accumulator (CMA) is an implied-mode instruction
because the operand in the accumulator register is implied in the
definition of the instruction.
DESCRIPTIVE QUESTIONS
PART - B (5 MARKS)
1 Explain Instruction Format.
2 Explain thc composition of a CPU with a diagram.
PART -C (10MARKS)
1. Explain stack organization in detail.
2. Explain the various Instruction formats.
3. Elaborate on the different types ofAddressing modes.
4. Explain the Data manipulation instructions.
D. Explain Program Control instructions.
Computer Organization
QUESTIONS AND ANswERS
PART -A(2 MARKS)
1. Defne
Parallel processing
Parallel
that are used toprocessing is aterm used to denote alarge class of
technique,
of increasing theprovide simultaneous data-processing tasks for the purpoc
2. List the Flynn's
computational speedof a computer system.
i. Single classification of computers
ii. Single
instruction stream, single data stream (SISD)
instruction stream, multiple data stream (SlMD)
i. Multiple instruction
stream, single data stream (MISD)
iv. Multiple instruction stream,
3. Define Pipelining.
multiple data stream (MIMD)
Pipelining is a
technique decomposing a sequential process int
of
sub operations, with cach sub process being exccuted in a
segment that operates concurrently special dedicatc:
with all other segments.
4. Define
Arithmetic pipeline.
An arithmetic pipeline divides an arithmetic
operations for execution in the pipeline segments. operation into su
5. Define
Instruction pipeline.
An instruction pipeline
operates on a
overlapping fetch,decode and execute phases ofstream of instructions
the instruction cycle.
6. What are the four
stages of instruction pipeline?
i. FISegment 1that fetches the
ii. DA: Segment 2 that
instruction.
decode the instruction and calculate the efle
address.
ii. FO: Segment 3 that fetches the
operands.
iv. EX: Segment 4 that execute the
Instruction
7. What are the three major
difficulties caused in Instruction
pipeline?
i. Data dependency conflicts arise when an
instruction depends
result ofa previous instruction, but this result is not yet available
Pipelining and Vector Processing 4.29
PART -A(2MARKS)
1. What is a
The microprecessor?
microprocessor is a multipurpose, clock driven, registet based,
digital-integrated circuit which accepts binary data as input. processes
t according to instructions stored in its memory., and
output. provides results as
2. What is a micro
computer?
A digital computer, in which one microprocessor has been provided
to act as CPUis called
microcomputer.
3. What is the function of accumulator in 8085?
The accumulator (register A) is an 8-bit register associated with
ALU.
* It is used to hold one of the operands of an arithmetic or logical
operation.
< It serves as one input to the ALU. The other operand for an arithmeic
or logical operation may be stored either in the memory or in one of
the general purpose registers.
o Final result of an arithmetic or logical operation is placed in the
accumulator.
4. What is an ALU?
DESCRIPTIVE QUESTIONS
PART - B (5 MARKS)
1. Explain the composition of aCPU with a diagram.
2. List the salient features of 8085.
3 Discuss the functions of ALE, IO/M,RD, WR,READY signals of
8085.
4. Explain program counter and stack pointer in 8085.
5. Describe the functions of IO/M, INTR, INTA,HOLD,HLDA signals
of 8085.
6. Discuss the functions of data and address buses.
7. Mention the control and status signals involved in I/O read
operation.
8. Write an 8085-AL program for 8 bit subtraction using conmplements
9. What are vectored interrupts? Explain in detail.
10. Explain the difference between the peripheral V0 and memory
mapped lO.
6.40
QUESTIONS AND ANSWERS
MARKS)
PART- A (2
DESCRIPTIVE QUESTIONS
PART - B (5MARKS)
1. Write an assembly language program to add two &bit numbers.
2. Write an assembly language program to subtract two 8 bit numbers.
3. Write an assembly language program to add two BCD numbers.
4. Write an assembly language program to subtract twoBCD
numbers.
5. Write an assembly language program to add two 16 bit numbers.
6. Write an assembly language program to multiply two 8 bit numbers.
7. Write an assembly language program to divide two 8 bit numbers
disabled or masked.
Interrupts 9.13
vectored and Non- Vectored interrupt?
7. What is
When an interrupt is accepted, if the processor control branches to
specificaddress defined by the manufacturer then the interrupt is called
a
vectored interrupt.
In Non-vectored interrupt there is no specific address for storing the
interrupt service routine. Hence the interrupted device should give the
routine.,
address of the interrupt service
e List the Software and Hardware interrupts of 8085?
i Software interrupts: RST 0, RSTI, RST 2,RST 3, RST 4, RST 5,RST
6and RST 7.
i Hardware interrupts: TRAP, RST 7.5, RST 6.5,RST 5.5 and INTR.
9. What is TRAP?
DESCRIPTIVE QUESTIONS
PART - B (5 MARKS)
1. Explain the multiple interrupts and priorities of 8085
microprocessor.
2. Explain the Vectored interrupts of 8085 microprocessor.
3. Differentiate between hardware and software interrupts.
4. Explain RIM and SIM instructions,.
PART - C(0 MARKS)
I. Explain the simple polled and interrupt controlled datatranster.
in
8085
2. Whatis an interrupt? List the various interrupts available
and their priorities. What is the use of TRAP in 8085?