25754: Computer Structure and Microprocessor and Lab
Course Name: Computer Structure and Microprocessor and Lab
Course Number: 25754
Prerequisite(s): 25743 (Logical Circuits and Digital System and Lab)
Co-requisite(s): -
Units: 4
Level: Undergraduate
Last Revision: Fall 2010

Description
The aim of this course is to familiarize students with the structure of microprocessors and computers, as well as the software and hardware of microcomputer systems. Additionally, it aims to provide knowledge on connecting the system to peripherals such as keyboards, seven-segment displays, LCDs, D/A converters, A/D converters, and so on.
 
Syllabus:
  • Internal Structure of Microprocessors and Microprocessor Systems:
    • Internal Structure of the 8085 Microprocessor
    • Execution of Load and Store Instructions in 8085 and Generation of Internal Signals
    • Microprocessor System Structure Based on 8085
    • Buses
    • Address Decoder
    • Memories
    • Ports
    • Software
  • Familiarity with Hardware and Software:
    • Basic I/O Circuit
    • IN and OUT Instructions
    • Assembly Program and Machine Code
    • Familiarity with Instructions and Delay Programs
  • Hardware Design:
    • Design of Microprocessor System Based on 8085
    • Decoder, Latch, ROM, RAM, Input/Output Ports
    • Memory Map
    • Machine Cycle
  • Software Design:
    • Types of Addressing and Instructions in a Microprocessor
    • Subroutine
    • Stack
    • Interrupt
  • Memories:
    • Structure and Internal Circuits of Memories: SRAM, PROM, EPROM, EEPROM, Flash
  • 8051 Microcontroller:
    • Internal Architecture
    • Memory Spaces
    • Instruction Execution
    • Delay Program
  • 8051 Software:
    • Types of Addressing and Instructions in 8051
  • Counters and Timers in 8051:
    • Capabilities of Counters and Timers in 8051 and Their Programming
  • Serial Port in 8051:
    • Capabilities of Serial Port and Its Programming
  • Interrupts in 8051:
    • Types of Interrupts in 8051
    • Interrupt Programming
    • Examples
  • Practical Examples:
    • Connecting 8051 to Keyboard, Seven-Segment Display, Stepper Motor, LCD, DAC, ADC
  • Advanced Microcontrollers:
    • Familiarity with Advanced 8051, AVR, and PICs

Labs:
  • Experiment 1:
    • Connecting 8 LEDs and 8 OFF-ON switches to the input and output ports of the 8085 microprocessor system
    • Programming ROM to display the status of switches on LEDs
  • Experiment 2:
    • Connecting 8 LEDs and 8 OFF-ON switches to the input and output ports of the 8085 microprocessor system
    • Programming ROM to rotate a lit LED among the other LEDs and display the status of switches on LEDs (for a quarter of a second) whenever the RST7.5 interrupt is activated
  • Experiment 3:
    • Connecting 8 LEDs and 8 OFF-ON switches to the 8051 ports and displaying the status of switches on LEDs
  • Experiment 4:
    • Rotating a lit LED among the LEDs connected to the output port of 8051
    • Displaying the number of input pulses to pin T0 on LEDs
  • Experiment 5:
    • Sending the status of switches connected to input port P0 via the serial port
  • Experiment 6:
    • Rotating a lit LED among the other LEDs connected to the output port and displaying the status of switches connected to the input port on LEDs whenever the external interrupt is activated
  • Experiment 7:
    • Connecting an LCD to the 8051 and displaying the name and student ID
  • Experiment 8:
    • Connecting a keyboard and a seven-segment display to the 8051 and displaying the pressed key code
  • End-of-term project based on AVR or PIC microcontrollers

References:
  • Kleitz, Digital and Microprocessor Fundamental
  • Mazidi, 8051 Microcontroller and Embedded System
  • Mackenzie, The 8051 Microcontroller


 
Last Update: 2024-05-23