Picture Courtesy: Intel Corporation
Picture Courtesy: Intel Corporation
Microprocessor
1978: 8086-8088
MIPS 8086
• Introduced in 1985 • Introduced in 1978 by Intel
• Separate operands for • One of the operands acts as
source and destination both source and destination
• Not possible to have one of • One of the operands can be
the operands in memory in memory
• General Instruction format • General Instruction format
opcode destination, source1, opcode destination/source1, source2
source2
Instruction Format
16 - bit Instruction mode
• MOV target,source
target,source – reg,reg / reg,mem / mem,reg / mem,imme / reg,imme
• XCHG target,source
target,source – reg,reg / reg,mem / mem,reg
Data Transfer Instructions
MOV Move byte or word to register or memory
IN, OUT Input byte or word from port, output word to port
LEA Load effective address
LDS,
LES Load pointer using data segment, extra segment
PUSH,
POP Push word onto stack, pop word off stack
Note: All instructions that have two operands, cannot have both operands to
be memory locations.
Compare and Jump Instructions
Compare Instructions
Instruction to compare two 8 bit or 16 bit numbers
• CMP
Jump Instructions
• Unconditional
- JMP
• Conditional
- Jcc
Loop and Input/Output
Instructions
Three instructions specifically designed for implementing
loops.
• LOOP
• LOOPE/LOOPZ
• LOOPNE/LOOPNZ
Input/Output instructions
• IN
• OUT
Flag Control Instructions
Flag control instructions either monitor the status of
executing instructions or control options available in its
operation.
• LAHF
• SAHF
• CLC
• STC
• CMC
• CLI
• STI
Interrupt Instructions
Number of instructions for processing interrupts
• CLI
• STI
• INT n
• IRET
• INTO
• HLT
• WAIT
String Handling Instructions
Equipped to handle string operations
• MOVS
• MOVSB
• MOVSW
• CMPS
• SCAS
• LODS
• STOS
Rotate, Shift and Subroutine and
Subroutine Handling Instructions
Shift Instructions
- Logical shift
SHL, SHR
- Arithmetic shift
SAL, SAR
Rotate Instructions
- ROL, ROR, RCL, RCR
• CALL and RET instructions
• PUSH and POP instructions
The Modern Microprocessor
• 8086 extended further to 8088, 16-bit Microprocessor,
whose increased memory size and additional instructions
led to more sophisticated applications for Microprocessor.
• Microprocessors were called CISC - Complex instruction
set computers, because of the number and complexity of
instructions.
• Very soon the memory offered by the 8088 became
insufficient, in 1983 leading to the introduction of 80286,
shortly before 80186/80188 were introduced. All being 16
bit.
• Demand yet increasing, in 1986, 32 -bit microprocessor
80386 was introduced followed by 80486 in 1989..
References
• 16-bit Micro-processors
Architecture,Software and Interface Techniques
Walter A.Triebel, Avtar Singh
• The Intel Microprocessors 8086/8088, 80186/80188, 80286, 80386,
80486, Pentium, and Pentium Pro Processor
Architecture, Programming, and Interfacing.
Barry B. Brey
• http://www.intel.com/
• http://www.hardwarebible.com/Microprocessors/8086.htm
• http://www.cms.dmu.ac.uk/
• http://www.cs.uakron.edu
• http://www.engr.sjsu.edu/