Академический Документы
Профессиональный Документы
Культура Документы
MODULE 1: INRODUCTION TO
MICROPROCESSORS
QUESTIONS
ANUPAMA KR
BITS, PILANI – KK BIRLA GOA CAMPUS
Binary Arithmetic
Q1. What will be the result and what will be the nature of the result in terms (All operations should
be done using sign- magnitude form of representation)
(a) 44 + 52
(b) 97 + 48
(c) 99 - 33
(d) 33 - 99
(e) -29 + -32
(f) -41 + (- 95)
(g) 100 + 28
(h) 27 – 100
(i) -32 - 65
Q3. Perform the following operations using Booth & Modified Booth.
(a) 4 x -3
(b) -2 x -3
(c) -7 X 2
(d) 7 x 6
If addition takes 2 clock cycle and shift takes 1 clock cycle and if the clock frequency is 5 MHz,
what will be the time taken to execute the above operations ?
CPU
Q6. What is the order in which the microprocessors buses (Address, Data and Control) are
activated?
Q7. Three, 16 bit numbers are stored in memory location ‘a’,’ b’ and ’c’. Write ALP programs for adding
the 3 numbers for CISC and a RISC processor. Assume that CISC processor has two temporary
storage registers and RISC processor has 8 registers. The result is to be stored in memory location
‘d’. The instructions involving ALU follow 3 operand format .Compare the performance of the CISC
& RISC Processor.
A0
A1
A2
A3 F0
F1
B0 F2
B1 F3
B2
B3 C4
A=B
C’IN
S3 S2 S1 S0
S3 – S0
M
1–Logical
0-Arthimetic
CIN
(a) What will be the size of CPU built around this ALU
1 Unconditional Branch
4 Conditional branches
1 Call
1 Return
And Instruction is of the format – Opcode dst,src , All ALU operations are performed on registers,
There are totally 16 Registers R0- R15 .