Introduction To MTS 86C Microprocessor Training System PDF
Introduction To MTS 86C Microprocessor Training System PDF
MODULE OUTLINE:
• Objectives
• Introduction to Microprocessor Systems
• Microprocessor Architecture (Sample)
• 8086 General Operation
• Introduction to MTS-86C
• Executing Demo Programs
Prepared By:
Engr. Cristine Jin DS. Estrada
MODULE 1
Objectives
PRE-LAB DISCUSSION
• To give an overview of the microprocessor systems, its components and
architecture
• To introduce the general operation of the 8086 processor
engrcjdse©2016
INTRODUCTION
Three Main Components of a
Basic Computer Organization
engrcjdse©2016
MICROPROCESSOR ARCHITECTURE
BASIC MICROPROCESSOR
STRUCTURE ACCUMULATOR
NOTE:
The width of a data bus refers to the
number of bits (electrical wires) that
make up a bus.
e.g. 1-, 4-, 8-, 16-, 32-, and 64-bit BASIC STRUCTURE OF MICROPROCESSOR
engrcjdse©2016
MICROPROCESSOR ARCHITECTURE
A. Bus Unit
Address Bus
• It is a group of wires or lines that
are used to transfer the addresses
of Memory or I/O devices. It is
bidirectional.
NOTE:
A 16-bit address bus can transfer
maximum address which means it can
address 65,536 different memory
locations.
NOTE:
Example of arithmetic operations are:
1. addition/subtraction
2. increment/decrement
3. shift left/right, circular shift left/right
2. Accumulator
3. Status Register
INSTRUCTION
4. Instruction Register REGISTER
MEMORY
5. Program Counter DATA
REGISTER
6. Memory Data Register
7. Memory Address Register
MICROPROCESSOR BLOCK DIAGRAM
engrcjdse©2016
MICROPROCESSOR ARCHITECTURE
D. Register Set
2. Accumulator ACCUMULATOR
NOTE: INSTRUCTION
REGISTER
The outputs of this register
are the inputs to the
instruction decoder.
MICROPROCESSOR BLOCK DIAGRAM
engrcjdse©2016
MICROPROCESSOR ARCHITECTURE
D. Register Set
5. Program Counter
PROGRAM
• It contains the address of COUNTER
the next instruction to be
performed by the MPU.
• It automatically increments
as soon as it is finished
with the memory location.
• MPU (8086)
External Interface
• Memory
• Chip Sets
• I/Os
MTS-86C FUNCTION BLOCKS
• External Interface
engrcjdse©2016
MTS-86C
HARDWARE OVERVIEW
MPU
The MPU of the MTS-86C is an
MPU Chip Sets
Memory
Intel based 8086 microprocessor
8086 I/Os
which has the following elements:
engrcjdse©2016
MTS-86C
HARDWARE OVERVIEW
MEMORY
ROM (Read Only Memory)
USER MEMORY
External Interface
The user memory allows the user to
store programs in their own ROM or MTS-86C FUNCTION BLOCKS
RAM. (Optional)
engrcjdse©2016
MTS-86C
HARDWARE OVERVIEW
CHIP SETS
8255 – General purpose
programmable parallel
input/output interface (3 sets) MPU Chip Sets
Memory
8251 – Serial data
communications interface (2
sets)
8086 I/Os
8259 – Programmable Interrupt
Control Unit
External Interface
8253 – Programmable MTS-86C FUNCTION BLOCKS
timer/counter
engrcjdse©2016
MTS-86C
HARDWARE OVERVIEW
CHIP SETS
MPU
8279 – Programmable
keypad/display interface Chip Sets
Memory
8086 I/Os
74LS373 – Octal D-Type
latches
External Interface
DAC0808 – 8-bit multiplying
digital to analog converter
engrcjdse©2016
MTS-86C
HARDWARE OVERVIEW
I/Os
MPU
Switch – 8-bit logic TACT
switch Chip Sets
LED – 8-BIT logic LED
Memory
8086 I/Os
FND – 1 Flexible Numeric
Display
Keypad – 4x6 keys
External Interface
Display – 16x2 line LCD
Speaker – 2 W Speaker
ADC Input – microphone,
variable resistor, thermistor,
and phototransistor MTS-86C FUNCTION BLOCKS
engrcjdse©2016
MTS-86C
HARDWARE OVERVIEW
External Interface
PPI-1 – 1st Prototyping area for
Memory
8225 parallel port
8086 I/Os
PIT/PIC/AD/DA – External
interface for 8259, AD/DA
Converter, and 8253,
respectively
System Bus – connects to 8086
CPU
RS232-1 – First serial port
interface for 8251
External Interface
RS232-2 – Second serial port
interface for 8251 MTS-86C FUNCTION BLOCKS
engrcjdse©2016
MTS-86C
FFFFFH
MEMORY MAP F8000H
Monitor Program 64KB EPROM
System Memory
• Monitor Program – allows user to Demo Program 27256 x 2
control and examine the F0000H
engrcjdse©2016
MTS-86C
ADDRESSING MODE Width = 16 bits
The physical address of the 8086 system is 20
bits in width. Hence, the generation of the
physical address requires the combination of
a 16-bit offset value and a 16-bit base value CODE SEGMENT (CS)
located in one of the four segment registers: DATA SEGMENT (DS)
• Code Segment (CS) – holds the program STACK SEGMENT (SS)
instruction codes
• Data Segment (DS) – stores data for the EXTRA SEGMENT (ES)
program
• Stack Segment (SS) – stores interrupt SEGMENT REGISTERS
subroutine return address
• Extra Segment (ES) – an extra data
segment often used for shared data
engrcjdse©2016
MTS-86C
How to generate a physical
address?
To generate a physical address, the value
in the segment register is shifted left by 4
bits with its
LSB filled with 0s
0 0 0 0 Width = 16 bits
OFFSET ADDRESS
F 0 4 0 0 Width = 20 bits
engrcjdse©2016
EXECUTING DEMO PROGRAMS
TABLE 4-1. DEMO PROGRAMS
EXPERIMENT
Fill out the remarks of
Table 4-1 Demo
Programs by exploring
MTS-86C.
OBJECTIVES
• To introduce the
hardware devices of
MTS-86C
• To introduce the memory
map of MTS-86C
• And to learn how to
execute the demo
programs in MTS-86C
engrcjdse©2016