
In this chapter, you will learn
l
To use string instructions for various
applications.
l
The concept and use of procedures and call
instructions.
l
To distinguish macros from procedures and
learn to write and use macros.
l
To write programs to convert between the
commonly used number formats.
l
Signed number arithmetic using 8086
instructions.
l
To write programs using the high level
language constructs of MASM.
programming
concepts–iii
4
4.1 | String Instructions
The 8086 has a set of instructions for handling blocks of data in the form of bytes or
words. They are called ‘string’ instructions. A string is an array of data of the same type –
for example, ...