IMPORTANT QUESTIONS Unit 3 and 4 - Removed
IMPORTANT QUESTIONS Unit 3 and 4 - Removed
1. What is register ?
Ans . Registers are a type of computer memory used to quickly accept, store, and transfer data
and instructions that are being used immediately by the CPU. The registers used by the CPU are
often termed as Processor registers.
2. What is Microoperations ?
Ans . The operations executed on values stored in registers are called as micro-operations." CPU
can perform operations on some values (operands), and these values are stored in
memory(registers). Operations made by the CPU to fetch these values and execute the instruction
are micro- operations.
3. What is register transfer language ?
Ans. The symbolic notation used to describe the micro-operation transfer among registers is
called RTL(Register Transfer Language).
The use of symbols instead of a narrative explanation provides an organized and concise
manner for listing the micro-operation sequences in registers and the control functions that initiate
them. It is a convenient tool for describing the internal organization of digital computers concise
andprecise manner.
4. Explain Bus transfer in computer architecture ?
Ans.
This causes a transfer of information into DR from the memory word M selected
by the address inAR.
The write operation transfers the content of a data register to a memory word
M selected by theaddress. Assume that the input data are in register R1 and the
address is in AR.
The write operation can be stated as follows:
Write: M [AR] <- R1
Types of Micro-operations:
Logic Micro-operations:
Shift Microoperations:
Shift microoperations are used for serial transfer of data.
The contents of a register can be shifted to the left or the right.
During a shift-left operation the serial input transfers a bit into the rightmost
position.
During a shift-right operation the serial input transfers a bit into the leftmost
position.
There are three types of shifts: logical, circular, and arithmetic
Logical Shift:
o A logical shift is one that transfers 0 through the serial input.
o The symbols shl and shr for logical shift-left and shift-right microoperations.
o The bit transferred to the end position through the serial input is
assumed to be 0 during a logical shift.
Circular Shift:
o The circular shift (also known as a rotate operation) circulates the
bits of the registeraround the two ends without loss of information.
o This is accomplished by connecting the serial output of the shift register to
its serial input.
IMPORTANT QUESTIONS
UNIT -4 (Basic computer organization and Design)
3) Execute: The Execute Operation is performed by the CPU. And Results those are produced
by the CPU are then Stored into the Memory and after that they are displayed on the user
Screen.
Types of computer register.
1. Accumulator Register
2. MAR
3. MDR
4. CCR (Condition code register )
3. What is Addressing Mode in computer Architecture ?
Ans. The term addressing modes refers to the way in which the operand of an instruction
is specified. The addressing mode specifies a rule for interpreting or modifying the
address field of the instruction before the operand is actually executed.
Types of Addressing Mode
Implied mode:: In implied addressing the operand is specified in the instruction itself. In
this mode the data is 8 bits or 16 bits long and data is the part of instruction.Zero address
instruction are designed with implied addressing mode.
Immediate addressing mode (symbol #):In this mode data is present in address field of
instruction .Designed like one address instruction format.
Note:Limitation in the immediate mode is that the range of constants are restricted by
size of address field.
Register mode: In register addressing the operand is placed in one of 8 bit or 16 bit
general purpose registers. The data is in the register that is specified by the instruction.
Here one register reference is required to access the data.
Register Indirect mode: In this addressing the operand’s offset is placed in any one of the
registers BX,BP,SI,DI as specified in the instruction. The effective address of the data is in
the base register or an index register that is specified by the instruction.
Here two register reference is required to access the data.
Auto Indexed (increment mode): Effective address of the operand is the contents of a
register specified in the instruction. After accessing the operand, the contents of this
register are automatically incremented to point to the next consecutive memory
location.(R1)+.
Here one register reference,one memory reference and one ALU operation is required to
access the
Auto indexed ( decrement mode): Effective address of the operand is the contents of a
register specified in the instruction. Before accessing the operand, the contents of this
register are automatically decremented to point to the previous consecutive memory
location. –(R1)
Here one register reference,one memory reference and one ALU operation is required
to access the data.
Format Of Instruction
The set of instructions that manages the operation codes is called the format of instruction.
The design of bits in instruction is supported by the format of instruction. The length of
instruction is generally preserved in multiples of character, which is 8bits. The instruction
format determines the behaviour and complexity of instruction. Depending upon the number
of addresses, the format of instruction is of variable length.
The instruction format in which there is no address field is called zero address instruction
The instruction format in which the instruction uses only one address field is called the one
address instruction format
In this type of instruction format, one operand is in the accumulator and the other is in the
memory location
It has only one operand
It has two special instructions LOAD and STORE
3. Two(2) Address Instruction format
The instruction format in which the instruction uses only two address fields is called the two
address instruction format
This type of instruction format is the most commonly used instruction format
As in one address instruction format, the result is stored in the accumulator only, but in two
addresses instruction format the result can be stored in different locations
This type of instruction format has two operands
It requires shorter assembly language instructions
The instruction format in which the instruction uses the three address fields is called the
three address instruction format
It has three operands
It requires shorter assembly language instructions
It requires more bits