
436 Appendix B
In this appendix, we shall use 8085 microprocessor machine code and assembly language as a
running example. A typical small program in assembly language: this program copies 100-bytes from
location 4000
16
to 4064
16
. The program starts at location 7000
16
.
B.1.1 Example Assembly Language
As indicated above, we shall use Intel 8085
microprocessor’s assembly language as a running
example.
Statements: The statements in this language are written
one per line. The structure of a statement looks like:
<lable> : <Mnemonic> <blank/s> <operand1>
[ , <operand2>] [; <comments>]
Mnemonic may be a machine code or a pseudo-
operation like data ...