Docsity

computer engineering department, Essays (high school) of Computer science

Toggle sidebar
bg1
Explore Our Geeks
Community
Microprocessor
Tutorials
Introduction
Introduction of
Microprocessor
Types of
Microprocessors
Microprocessor |
Intel x86 evolution
and main features
Evolution of
Microprocessors
8085
Microprocessor
Architecture of
8085
microprocessor
Pin diagram of
8085
microprocessor
Registers of 8085
microprocessor
Flag register in
8085
microprocessor
Addressing modes
in 8085
microprocessor
Data transfer
String is a series of data byte or word available in memory
at consecutive locations. It is either referred as byte string
or word string. Their memory is always allocated in a
sequential order. Instructions used to manipulate strings
are called string manipulation instructions.
Following is the table showing the list of string
manipulation instructions:
OPCODE OPERAND EXPLANATION EXAMPLE
REP instruction
repeat the given
instruction till
CX != 0
REP
MOVSB
REPE instruction
repeat the given
instruction while
CX = 0
REPE
REPZ instruction
repeat the given
instruction while
ZF = 1
REPZ
REPNE instruction
repeat the given
instruction while
CX != 0
REPNE
REPNZ instruction
repeat the given
instruction while
ZF = 0
REPNZ
String manipulation instructions in
8086 microprocessor
Read
Courses
90% Refund @Courses Trending Now Data Structures & Algorithms Foundational Courses Data Science Practice Problem
DSA Tutorials Data Science Web Dev
Sign In
S
kip
to
c
ont
e
nt
pf3
pf4

Partial preview of the text

Download computer engineering department and more Essays (high school) Computer science in PDF only on Docsity!

Explore Our Geeks Community

Microprocessor Tutorials

Introduction

Introduction of Microprocessor

Types of Microprocessors

Microprocessor | Intel x86 evolution and main features

Evolution of Microprocessors

8085 Microprocessor

Architecture of 8085 microprocessor

Pin diagram of 8085 microprocessor

Registers of 8085 microprocessor

Flag register in 8085 microprocessor

Addressing modes in 8085 microprocessor

Data transfer

String is a series of data byte or word available in memory at consecutive locations. It is either referred as byte string or word string. Their memory is always allocated in a sequential order. Instructions used to manipulate strings are called string manipulation instructions. Following is the table showing the list of string manipulation instructions:

OPCODE OPERAND EXPLANATION EXAMPLE

REP instruction

repeat the given instruction till CX != 0

REP

MOVSB

REPE instruction

repeat the given instruction while CX = 0

REPE

REPZ instruction

repeat the given instruction while ZF = 1

REPZ

REPNE instruction

repeat the given instruction while CX != 0

REPNE

REPNZ instruction

repeat the given instruction while ZF = 0

REPNZ

String manipulation instructions in

8086 microprocessor

Read Courses

90% Refund @Courses Trending Now Data Structures & Algorithms Foundational Courses Data Science Practice Problem

DSA Tutorials Data Science Web Dev Sign In

Skip to content

instructions in 8085 microprocessor

Arithmetic instructions in 8085 microprocessor

Logical instructions in 8085 microprocessor

Branching

OPCODE OPERAND EXPLANATION EXAMPLE

MOVSB none

moves contents of byte given by DS:SI into ES:DI

MOVSB

MOVSW none

moves contents of word given by DS:SI into ES:DI

MOVSW

MOVD none

moves contents of double word given by DS:SI into ES:DI

MOVD

LODSB none

moves the byte at address DS:SI into AL; SI is incr/decr by 1

LODSB

LODSW none

moves the word at address DS: SI into AX; SI is incr/decr by 2

LODSW

LODSD none

moves the double word at address DS:SI into EAX; SI is incr/decr by 4

LODSD

STOSB none

moves contents of AL to byte address given by ES:DI; DI is incr/dec by 1

STOSB

OPCODE OPERAND EXPLANATION EXAMPLE

CMPSD none

compares double word at ES:DI with double word at DS:SI and sets flags

CMPSD

Learn to code easily with our course Coding for Everyone. This course is accessible and designed for everyone, even if you're new to coding. Start today and join millions on a journey to improve your skills!

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Looking for a place to share your ideas, learn, and connect? Our Community portal is just the spot! Come join us and see what all the buzz is about!

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.

Last Updated : 04 Mar, 2022

Share your thoughts in the comments

7

Previous

Process control

instructions in 8086

microprocessor

Next

Program execution

transfer instructions in

8086 microprocessor

Add Your Comment