4. we will discus:
• Intro about 8096 microcontroller .
• MCS96 (8086) Specifications.
• 8096 Memory Architecture.
• 8096 Pin Configurations.
• 8096 Instruction Set.
• Other Intel MC Versions.
• References.
5. 8096 MICROCONTROLLER Introduction
• INTEL 8096, a second-generation processor belongs to MCS 96 family.
• - High performance 16-bit CPU horse power microcontroller.
• - Handle high speed calculations and math processing.
• - Fast and high speed input/output operations which is preferred in high speed
modern control applications.
6. 8096 MICROCONTROLLER Specifications
1-CPU specification
-The 8096 CPU has a 16-bit ALU which operates on a 256-byte register file instead of an accumulator.
Any of the locations in the register file can be used for sources or destinations for most of the instructions. Hence this is called
a register to register architecture.
-Many of the instructions can also use bytes or words from anywhere in the 64K byte address space as operands.
-Locations 00h through 17H are the I/O control registers or special function registers(SFRs) Locations 18H and 19H contain
the stack pointer which serves as general purpose RAM when not performing the stack operations.
-The remaining bytes of the register file serves as general purpose RAM, accessible as bytes, words or double-words.
Calculations performed by the CPU takes place in the RALU.
-This RALU contains a 17-bit ALU, the program status word (PSW), the program Counter(PC), a loop counter and three
temporary registers.
7. Continue 8096 Specifications
2-ADDRESSING MODES
The 8096-instruction set supports six addressing modes.
• Immediate addressing mode
• Register direct addressing mode
• Indirect addressing mode
• Indirect with auto increment mode
• Short indexed mode
• Long indexed mode
These addressing modes increase the flexibility and overall execution speed of 8096 controller. Each instruction uses at least
one of the addressing modes. The register, direct and immediate addressing modes execute faster than the other addressing
modes. Both of the indirect addressing modes use the value in a word register as the address of the operand. The indirect auto
increment mode, increments a word address by one after a byte operation and two after a word operation
8. 8096 Memory Architecture
The architecture of 8096
has two major sections
one is the CPU section
and the other is the I/O
section
9. Continue 8096 Memory Architecture
All of the MCS-96
components share a
common instruction set
and architecture.
It is Harvard architecture
which separate the
pathways of instructions
and data.
10. Continue 8096 Memory Architecture
• As we say before 8096 CPU has 16-bit ALU which operates at 256 byte
register file. Any of the locations in the register file can be used for sources
and destinations so this is register to register architecture.
• REGISTER ALU (RALU) contains 17-bit ALU, the program status word
(PSW), the program counter (PC), it operates directly on the register files.
12. Continue Memory Architecture: I/O ports
Standard I/O Ports
– The 8096 has five 8 bit I/O ports.
• Port 0 is an input port that is also the analog input
for the A/D converter.
• Port 1 is a quasi-bidirectional port.
• Port 2 contains three types of port lines.
• Quasi-Bidirectional, input and output. Other functions on the 8096 share the input and
output lines with Port 2.
• Port 3 and 4 are open-drain bidirectional ports that share their pins with the
address/data bus.
13. Continue Memory Architecture: Timer
– The 8096 has two 16 bit timers. Timer 1 and Timer 2.
• An internal clock increments the Timer 1 value every 8 state times. (A state
time is 3 oscillator periods)
• An external clock increments Timer 2 on every positive and negative
transition.
14. Continue Memory Architecture: HSI and HSO
• High Speed Input Unit (HSI) – The 8096 HIS unit can record times of
external events with a 9 state time resolution.
• High Speed Output Unit (HSO) – The 8096 HSO unit can trigger events
at specified times based on Timer1 or Timer2.
15. Continue Memory Architecture: Serial Port
– The serial port on the 8096 has one synchronous (Mode 0) and three
asynchronous modes (Modes 1, 2 and 3).
• The asynchronous modes are full duplex
16. 8096 MICROCONTROLLER Pin configuration
The 8086 family of microcontrollers has different sections, all of which work in an
integrated fashion to achieve high performance and control.
• The major sections 16-bit CPU
• (16-bit is a computer hardware device or software program capable of transferring
16 bits of data at a time. For example, early
computer processors (e.g., 8088 and 80286) were 16-bit processors, meaning they
were capable of working with 16-bit binary numbers (decimal number up to
65,535).
17. 8096 MICROCONTROLLER Pin configuration
• CPU: CENTERAL PROCESSING UNIT : is responsible for performing arithmetic and
logic operations and for the generation of the control signals , “the different control signals
are generated depending on the instruction being executed .”, the CPU of the 8096 contains
the following : Register file , Register arithmetic logic unit , control unit
• Control unit: A control unit or CU is circuitry that directs operations within a
computer's processor. It lets the computer's logic unit, memory, as well as
both input and output devices know how to respond to instructions received from a program
) , a programmable high speed input output unit , on-chip RAM ,on-chip ROM , analog-to-
digital converter
23. 8096 MICROCONTROLLER Instruction Set
The 8096 has 100 instructions.
• some of which operate on bits, some on bytes, some on words and some on
longs (double words).
• All of the standard logical and arithmetic functions are available for both
byte and word operations
• There are also flag manipulation instructions as well as jump and call
instructions.
25. Other Intel Microcontroller Versions.
8048 (Intel)
Although a bit long in the tooth and a bit kludge
in design (at least by today's standards), it is still very
popular due to its very low cost, availability, and wide range of
development tools.
Modified Harvard architecture with program ROM on chip with an
additional 64 to 256 bytes of RAM also on chip. I/O is mapped in
its own space.
8051 (Intel and others)
The 8051, Intel's second generation of microcontrollers, rules the
microcontroller market at the present time. Although featuring a
somewhat bizarre design, it is a very powerful and easy to program
chip (once you get used to it).
26. Other Intel Microcontroller Versions
80186,80188 (Intel)
These chips are, in essence, microcontroller versions of the 8086
and 8088 (of IBM/PC fame). Included on the chip are: 2
channels
of DMA, 2 counter/timers, programmable interrupt controller,
and
dynamic RAM refresh. There are several variations including:
low power versions, variations with serial ports, and so on.
80386 EX (Intel)
The 80386 EX is of course a 386 in microcontroller clothing.
Included on the chip are: serial I/O, power management, DMA,
counter/timers, programmable interrupt controller, and dynamic RAM
refresh.