CAM
CAM
Reg No.:
PART A
, (Answer all questionsl eoch question carries 3 marks) Marks
Module -1
ll a) Illustrate Booth's algorithm for multiplication of two numbers -5x6 in binary. l0
Write the algorithm or draw the flowchart to explain the steps.
b) processor.
Explain the basic register set of a general 4
l2 a) Explain Instruction fetch Cycle with a sample timing diagram 7
Page 1 of 3
02000EcT2060s2LOt
Module -2
l3 a) Explain using a block diagram, the architecture of 8051 microcontroller chip. 8
b) Illustrate with examples the use of instructions CJNE, DJNZ and JNC for 6
program control in 8051 microcontrollers.
t4 a) Explain PSW register in SFR and explain the function of each bit. 6
b) Explain the addressing modes used in the instruction architecture of 8051 8
microcontroller with two examples each. (Use MOV instructions for illustration).
Module -3
l5 a) Write an 8051 C program to toggle the bits of Pl ports continuously with a
250ms time delay.( Comment each line of the program.)
b) write an assembly language program in 8051 to add an array of ten g-bit
numbers stored in the external memory. Draw the flowchart or write the
I
algorithm also.
l6 a) Using a block diagram explain the interfacing of 8051 with LCD module.
Explain the functional pins of LCD module.
b) Write an assembly language program to interface a DAC to 8051 microcontroller
and display a squane waveform. (Choose l0v maximum and 0v minimum. Take
data values accordingly).
Module -4
t7 a) Explain the function of each bit of TMOD and TCoN registers of g05l
microcontroller.
b) write an 8051 assembly language proggn to generate a square wave of 50ol
duty cycle with 3ms pulse width on all pins of Port 0 using Timer 0. Assume an
XTAL frequency of 22MIlz.
t8 a) Explain the significance of SBUF and scoN registers in g05l serial
communication. Explain how the baud rate can be doubled using PCON register.
b) Eiplain ARMT programming model.
Module -5
t9 a) What is DMA. Explain the role of DMA controller in data transfer using a block
diagram.
Page 2 of 3
02fftoEcT206052101
rtrt*
lt
I
I
l.
l
il
Page 3 of3
D 02000EcT206052103
PART B
(Answer onefull qaestion from each module, each question carries 14 ntarks)
Module -l
.l I a) Explain "shift and add" algorithm for_:nultiplying fwo numbers with an ' (g)
example.
Page 1 of 2
02000EcT206052103
16 a) Explain interfacing of DAC with 8051 using a diagram and also write an (7)
embedded C program to generate staircase waveform.
Page2 of 2
D 02000EcT2050s2104
RegNo.: Name:
APJ ABDUL KALAM TECHNOLOGICAL UNIVERS
Fourth Semester B.Tech Degree Supplementary Examination June 2023
PART B
(Answer one full question from each module, each question carries 14 marks)
Module -1
ll a) Explain Von. Neumann and Harvard computer architecture with necessary 9
diagrams. List the advantages and disadvantages.
b) With an example explain the multiplQation operation of two 8-bit binary 5
Page 1 of 2
02000EcT206052104
b) Explain in detail about 8051 interrupts using interrupt vector table. Explain the g
Module -3
15 a) Writb 8051 assembly language program to toggle all the bits of Port 0 every lms 4
using a subroutine. The crystal frequency used is I lMHz. Assume the machine
cycle values as I or 2.
b) Draw a neat diagram to represent the interfacing of 805 I with LCD device. Write l0
embedded c code to display 'H', 'E', 'L', 'l-' ,'o' continuously using derays.
16 a) Write 8051 C program to convert ASCII digits of '5' and '8' to packed BCD and 4
sent the value to por|2.
b) Explain the 8051 interfacing with ADC using a block diagram. Write embedded l0
C code to convert the analog input to the digital value and store the result in R5.
Module -4
17 a) Write a short note on Mode 2 programming of 8051 timer. 4
b) Explain the SBUF and SCON register of 8051. Write an embedded C program to l0
check the status of pin Pl.O and if the pin is HIGH transfer the message ..
WELCOME" serially at 9600 baud, 8-bit,l stop bit. If the pin is low exit the
program.
18 a) Explain the steps to create an executable file from an assembly language 4
program.
b) Write the programming steps to transfer character bytes serially. Write 8051 l0
assembly language program to read data through ports 0,1,2 one after the other
and transfer the data serially, continuously. Assume 9600 baud, 8-bit,l stop bit.
Module -5
o 19 a) Explain the Set-Associative mapping of Cache memory with an example. . 8
b) Write the importance on Translation ilokaside Buffer (TLB). How physical 6
address is generated using associative-mapped TLB.
20 a) Write a short note on virtual memory organisation. 5
b) Illustrate programmed I/O using a block diagram. Explain the steps to input a 9
. sequence of data bytes to be stored in memory.
***
Page 2 of 2
D 02000EcT205052102
r,,#'F;:^ .
";'i ",
Reg No.: Name: i 1
q,
I Explain the significance of accumulator, program counter and stack pointer in J
processor operation.
communication.
8 Assurne XTAL:Il.OSqZ. Compute the value to be loaded into THO and TLO J
b) Draw the internal architecture of a general processor and explain the various
components.
Page 1 of 2
02000Ecr205052102
schematic diagram. Also list the 8051 Special function registers and its
functions.
b) What is stack? Explain the role of stack in prograrn execution during a CALL 5
instruction.
- 14 a) Explain about the ports of 8051 and also illustrate the Port 0 circuit read and 8
,'t memory locaticns 30H to 39H in ascending order. Comment all lines of the
program.
b) Write an 8051 C code to conveft the analog input provided to ADC chip to the 6
to 805 I microcontroller.
tr{odule -.{
17 a) Explain the charactgristics and operations ol-nrodc I programming of Timers in 6
8051 microcontroller.
.t
b) Explain the steps to transfer data serially in 8051. 8
Module -5
19 a) Explain programmed I/O and interrupt driven l/O for data transfer in 8
computers. I
b) Explain RAM and ROM rnemory chips. 6
20 a) Explain associative mapping of cache memorv for a 4K cache with block size I
128 and word size 16. Draw necessary figures. Specifo the main memory
address.
Page 2 of 2
D 0200EcT206052401
PART A
(Answer all questions; eoch question carries 3 marks) Marks
7 Explain how to double the baud rate for data transfer in 8051serial communication. 3
PART B
(Answer onefull questionfrom each madule, each question corries 11 marks)
Module -1
ll a) Explain IEEE754 single precision format with the help of an example. 6
,12 a) Explain instruction Cycle with the help ofa timing diagram. ,10
b) Explain the Stack Pointer and Program 6nter. 4
Module -2
t3 a) Explain any four addressing modes of 8051 with an example. 8
b) Explain the difference between rotate instructions RL and RLC with suitable 6
example.
t4 a) Sketch and explain the architecture of805l. 8
Page 1 of 2
?
0200EcT206052401
, Module -3
15 a) Explain the interfacing of Seven Segment Display with 8051. Write an assembly E
b) Write an assembly language program to find the sum of l0 numbers stored from
location 2000H and store the results in the consecutive locations.
16 a) With relevant diagram, explain the program for interfacing LCD with 8051. 7
b) Explain how to interface ADC to 8051 with suitable diagram and program. 7
Module -4
t7 a) Explain the steps and program to receive data serially in 805 r. g
Page2of 2
e
t
D 0200Ecr2060s2402 Pages: 2
\N
,i:1$
Course Code: ECT206
Course Name: COMPUTER ARCHITECTURE AND MICROCONTROLLERS
-
Max. Marks: 100 Duration: 3 Hours
PART A
(Answer all questionq each question carries 3 morks) Marks
.
I Differentiate Von Neumann and Harvard Architecture J
7 Draw the TMOD register and mention the function of each bit in theregister. 3
8 Name the SFRs (any three) used for serial communication in 8051. What is their 3
function?
I
9 What is meant by paging? J
.10 Draw the circuit diagram and explain the working of DRAM. 3
PART B
(Answer onefull questionfrom each module, each question carries 11 marks)
Module -i"
ll a) Represent the number -15.625 in IEEE754 single precision format 5
b) Draw the intemal architecture of a general processor and explain the various 9
components
12 a) Perform the division 9/5 using any restoring division algorithm. 8
Module -2
13 a) Write the functions of the pins in 8051 - EA, RST, XTAL and ALE 8
b) Explain any three addressing modes used in 8051 with an example each. 6
Page 1 of 2
0200EcT2060s2402
I
b) Explain the virnral memory address translation procedure with necessary diagram 8
20 a) Differentiate between programmed I/O and intemrpt driven IlO data transfer. 9
Mention the advantages of Intemrpt driven I/O.
b) Write a short note on memory hierarchy with block diagram
. ***
age2 of 2
:sr" I
F
"ffi
D 02000EcT206052106
RegNo.:
t'/ 3Y -€.lrrrr*a\E
APJ ABDUL K,{LAM TECHNOLOGICAL UN
Fourth Semester B.Tech Desree Examination June 2022 l9*
s##,,''
Course Code: ECT206
Course Name: COMPUTER ARCHITECTURE AI\D MICROCONTROLLERS
Max. Marks: 100 Duration: 3 Hours
PART A
(Answer all qaestions; eoch question carries 3 morks) Marks
. PART B
(Aiswer one"full question from each module, each question conies 14 marks)
Module -1
II a) Explain Non-restoring division algoriinmWith an example. (8)
b) Explain Instruction Cycle with a sample timing diagram. (6)
12 a) Differentiate RISC and CISC Computer Architecture. (7)
b) How does a computer go from a set of stored instructions to running them? (7)
Module -2
13 a) Draw and explain the architecture of 8051 microcontroller. (9)
b) List the intemrpts available in the 8051 microcontroller. Explain IE and IP (5)
Specipl Function register.
Page 1 of 2
020(rcEcT206052106
14, a) Explain. different Addressing Modes of 8051 Microcontroller with examples. (8)
b) Explain TCON and TMODtspecial function relister in 8051 Microcontroller. (6)
Module -3
15 a) Write an ALP to find the largest number in an array of l0 bytes, stored in the (6)
internal memory block starting with 2lH. Store the result at 50H.
b) Explain interfacing of stepper motor with microcontroller. Write an embedded C (8)
language program to rotate stepper motor in clockwise direction continuously in
full step mode.
16 a) Draw the block diagram to show how 8051 is connected to DAC 0808 at porr Pl. (S)
Write a program to generate Ramp signal.
,.
b) Write an 8051 C program to get a byte of data from Port Pr. If it is less than 100, (6)
send it to po; otherwise, send it to pz.
Module -4
l7 a) Draw and explain ARMT register architecture (7)
b) Write an ALP to generate a square wave of frequency l00KHz on pin PI.0, using (7)
Timer l-operating in mode 0. Assume Crystal frequency ll.0592MHz
18 a) Explain various System software. (8)
b) Write an embedded C program for the 8051 to transfer letter "A" serially at 9600 (6)
baud. continuouslv.
Module -5
19 a) Explain different mapping techniques in cache memory. (g)
b) Explain the Asynchronous input/output transfer with proper timing diagram. (6)
, 20 a) Explain the add4gss translation mechanism in Virtual Memory. (8)
b) Explain the working of DRAM and SRAM with neat diagram. .(6)
* rt*
Page2of 2