ECT 206 Computer Organization and Microcontroller-Syllabus
ECT 206 Computer Organization and Microcontroller-Syllabus
PCC 3 1 0 4
ARCHITECTURE AND
MICROCONTROLLERS*
Preamble: This course aims to impart knowledge of basic computer architecture and
modern microcontrollers.
Course Outcomes: After the completion of the course the student will be able to
CO 1 Explain the functional units, I/O and memory management w.r.t a typical
computer architecture.
CO 2 Distinguish between microprocessor and microcontroller.
CO 3 Develop simple programs using assembly language programming.
Assessment Pattern
Bloom’s Category Continuous Assessment End Semester
Tests Examination
1 2
Remember 10 10 10
Understand 20 20 20
Apply 20 20 70
Analyse
Evaluate
Create
Mark distribution
Total CIE ESE ESE
Marks Duration
150 50 100 3 hours
End Semester Examination Pattern: There will be two parts; Part A and Part B. Part A
contain 10 questions with 2 questions from each module, having 3 marks for each question.
Students should answer all questions. Part B contains 2 questions from each module of which
student should answer any one. Each question can have maximum 2 sub-divisions and carry
14 marks.
Text Books
1. Muhammed Ali Mazidi & Janice Gilli Mazidi, R.D. Kinley, The 8051 microcontroller
and Embedded System, Pearson Education, 2nd edition.
Reference Books
2 8051 Architecture
2.1 Microcontrollers and Embedded Processors and Applications 1
2.2 Architecture – Block diagram of 8051, Pin configuration, Registers, Internal 3
Memory, Timers, Port Structures, Interrupts.
2.3 Addressing Modes of 8051 1
2.4 Instruction sets (Detailed study of 8051 instructions) 4
4 Advanced Concepts
4.1 8051 Timers/Counters - Modes and Applications 2
4.2 Serial Data Transfer – SFRs of serial port, working, Programming the 8051 to 2
transfer data serially
4.3 Introduction to ARM - ARM family, ARM 7 register architecture. ARM 2
programmer’s model
4.4 System software - Assembler, Interpreter, Compiler, Linker, Loader, Debugger. 2
5 Memory System
5.1 Types of memory - RAM, ROM. Memory Characteristics and Hierarchy 2
5.2 Cache memory – The basics of Caches, Mapping techniques, Improving Cache 2
performance
5.3 Virtual memory – Overlay, Memory management, Address translation 2
5. 4 Input/Output Organization – Introduction, Synchronous vs. asynchronous I/O, 3
Programmed I/O, Interrupt driven I/O, Direct Memory Access.
Simulation assignments
The following examples may be solved in C program
Part – A
Answer all questions. Questions carry 3 marks each.
2. Which is more important for the functioning of a basic processor, Program Counter or Stack
Pointer. Justify your answer.
5. Write an embedded C program for 8051 microcontroller to continously rotate a stepper motor
clockwise.
6. Write an embedded C program for 8051 microcontroller to blink P2.5 every 2 seconds
7. List the different modes and give corresponding uses of timers in 8051 microcontroller
8. Which are the SFRs used for serial communication in 8051 microcontroller. Give there
functions.
Module – 1
11. a) With an example explain the “shift and add” algorithm for multiplying two binary numbers.
(5 marks)
b) With relevant diagrams illustrate the functioning of a basic (non – pipelined) processor.
(9 marks)
OR
Module – 2
13. a) Illustrate the complete memory organisation of 8051 microcontroller (10 marks)
OR
14. a) Explain about the Addressing Modes of 8051 microcontroller with examples. (7 marks)
b) Describe the classification of the Instruction Set of 8051 microcontroller with examples.
(7 marks)
Module – 3
15. a) Write an embedded C program for 8051 microcontroller to read an analogue signal from an
ADC and reproduce the same using a DAC (9 marks)
b) Write an assembly language program for 8051 microcontroller to sort N number in
ascending order. Assume that the numbers are stored in continuous locations starting from
0x4321 onwards. (5 marks)
OR
16. a) Write an embedded C program for 8051 microcontroller to repeatedly display the sequence
1,5,8,0,2,6,4,9,3,7 using a 7 – segment display with a delay of 1.5 seconds between each
number. (9 marks)
b) Write an assembly language program for 8051 microcontroller to find the cube of an 8 – bit
number (5 marks)
Module – 4
17. a) Assume a switch is connected to pin PL7. Write a embedded C program for 8051
microcontroller to monitor its status and
send two messages to serial port continuously as follows:
SW=0 send “NO”
SW=1 send “YES”
Assume XTAL = 11.0592 MHz, 9600 baud, 8-bit data, and 1 stop bit. (10 marks)
b) Describe the ARM 7 register architecture (4 marks)
18. a) Write a embedded C program for 8051 microcontroller to send the message
“Hello World !” to serial port. Assume a SW is connected to pin P1.2.
Monitor its status and set the baud rateas follows:
SW =
0,
4800
baud
rate
SW =
1,
9600
baud
rate
Assume XTAL = 11.0592 Mhz, 8 – bit data, and 1 stop bit
(
10 marks)
b) Explain how a HLL program is executed as machine language in a processor
(4 marks)
Module – 5
19. a) Differentiate synchronous and
asynchronous I/O.
Which is more efficient with respect to processor utilisation? Justify your answer (8
marks)
b) Explain direct mapping of cache memory with an example (6
marks)
OR