Вы находитесь на странице: 1из 6

Case Study of Assemblers

for x85 and x86 machines


By Aditya Bhardwaj
Email : aditya.cse@nitttrchd.ac.in
Difference between X85 vs X86
X 85 X 86
It is an 8-bit microprocessor designed by Intel 8086 Microprocessor is an enhanced version
in 1977 using NMOS technology of 8085Microprocessor that was designed by
Intel in 1978.

It is used in washing machines, microwave It is used in Desktop computer, Laptop etc


ovens, mobile phones, etc

It has 16-bit address bus and 8-bit data bus. It is a 16-bit Microprocessor having 20
address lines and 16 data lines that provides
up to 1MB storage

8085 doesn’t support a pipelined architecture 8086 supports a pipelined architecture.


Difference between X85 vs X86
Operation X 85 X 86
Logical NOT-Logical NOT of byte or word (one's
NOT-Logical NOT of byte or word (one's
Instruction complement)
complement)  
ANA-Logical AND of byte or word AND-Logical AND of byte or word
 OR -Logical OR of byte or word
ORA -Logical OR of byte or word  XOR-Logical exclusive-OR of byte or word

XRA-Logical exclusive-OR of byte or word  CMP- Compare

CMP- Compare Ex1: AND R1, R2


Ex1: ANA R1, R2  (Logical AND of values store in register R1 and
  R2)
(Logical AND of values store in register R1
and R2)
Difference between X85 vs X86
Operation X 85 X 86
Data Transfer  MOV- Move byte or word to register or
Instruction  MOV- Move byte or word to register or memory
memory.  

 LDA—Load Accumulator Directly from  LEA-Load effective address


memory  
 PUSH, POP-Push word onto stack, pop word
 PUSH, POP-Push word onto stack, pop off stack 
word off stack 
Ex1. MOV B, A
Ex1. MOV B, A (Move contents of A into B)
(Move contents of A into B)
Ex2. LDA M1 (Load memory address stored Ex2: LEA M1 (Load memory address stored from
from M1 in Accumulator) M1 in Accumulator)
Ex3. PUSH 20 (Push 20 onto stack)
Ex3. PUSH 20 (Push 20 onto stack)
Difference between X85 vs X86
Operation X 85 X 86
Processor IRET- Enable Disable Interrupt
EI-Enable Interrupt
Control
Instructions ESC-Escape to external processor
DI-Disable Interrupt interface
NOP- No operation  NOP-No operation

 HLT-Halt processor   HLT-Halt processor 

Ex1. EI if CPUutilization>90% Ex1. IRET if CPU utilization >90%


Question?

Вам также может понравиться