You are on page 1of 4

Classification of Instructions

8088/8086 BASIC
INSTRUCTIONS

Data Transfer Instructions


Arithmetic Instructions
Logic Instructions
Shift Instructions
Rotate Instructions
Flag Control Instructions
Jump Instructions

Prepared by:
Jeniefer Espino

Data Transfer Instructions - MOV

String Instructions

Data Transfer Instructions - MOV

MOV Instruction facilitates the movement of data

between registers or between a register and main


memory
Format:

MOV D (Destination), S (Source)

MOV AX, BX
MOV DI, 0005H
MOV AX, [DI]

Data Transfer Instructions - XCHG

Data Transfer Instructions

XCHG (Exchange) Instruction swaps the contents off

the source and destination operands


Format:

XCHG D, S

XCHG DI, SI
XCHG BX, [CX]
XCHG AH, BL

Data Transfer Instructions - XCHG

MOV AX, 0034H


XCHG CX, [AX]
XCHG BL, CH

Data Transfer Instructions

XCHG AX,BX
MOV AX, [CX]
XCHG BX, [DX]

Data Transfer Instructions - PUSH

Data Transfer Instructions - PUSH

PUSH Instruction decrements SP by 2 and then moves

a word data from the source operand to the top of the


stack pointed to by SP
Pushes word-sized data only
Format:

PUSH S

PUSH AX
PUSH BX

Data Transfer Instructions - POP

Data Transfer Instructions - POP

POP Instruction transfers a word data pointed to by SP

to destination operand; value of SP is incremented by 2


Format:

POP D

POP AX
POP BX

Data Transfer Instructions - LEA

Data Transfer Instructions - LEA

LEA (Load Effective Address) Instruction transfers

the effective address (not data) of the source operand to


the destination operand
Format:

LEA D, S
D = Effective Address of S

LEA BX, ALPHA


LEA DI, GAMMA
LEA AX, DX

Data Transfer Instructions

Data Transfer Instructions

POP BX
MOV AX, [CX]
XCHG BX, [DX]
XCHG CH, AL
LEA CX, DX
PUSH CX

You might also like