THE INSTRUCTION SET

PC

SP

LABEL

s

p

~y

1\

+

16-bit program counter register (PCH and PCl are used to refer to the high-order and low-order 8 bits respec- tively).

16-bit stack pointer register (SPH and SPl are used to refer to the high-order and low-order 8 bits respectively).

Bit m of the register r (bits are number 7 through 0 from left to right).

16-bit address of subroutine.

The condition flags:

Zero

Sign

Parity

Carry

Auxiliary Carry

The contents of the memory location or registers enclosed in the parentheses.

"Is transferred to"

logical AND

Exclusive OR

Inclusive OR

Addition

5.The boxes describe the binary codes that comprise the machine instruction.

6.The last four lines contain information about the execution of the instruction. The number of machine cycles and states required to ex- ecute the instruction are listed first. If the in- struction has two possible execution times, as in a conditional jump, both times are listed, separated by a slash. Next, data ad- dressing modes are listed if applicable. The last line lists any of the five flags that are af- fected by the execution of the instruction.

5.3INSTRUCTION AND DATA FORMATS

Memory used in the MCS-85 system is organ- ized in 8-bit bytes. Each byte has a unique location in physical memory. That location is described by one of a sequence of 16-bit binary addresses. The 8085A can address up to 64K (K = 1024, or 210; hence, 64K represents the decimal number 65,536) bytes of memory, which may consist of both random-access, read-write memory (RAM) and read-only memory (ROM), which is also random-access.

Data in the 8085A is stored in the form of 8-bit binary integers:

DATA WORD

I0 7 I 0 6 I 0 5 I 0 4 I 0 3 I O2 I 0 1 I Do I

MSBlSB

II

I

 

Two'scomplement subtraction

 

Multiplication

 

"Is exchanged with"

 

The one'scomplement (e.g., (A))

 

The restart number 0 through 7

\JNN

The binary representation 000

 

through 111 for restart number

 

o through 7 respectively.

rhe instruction set encyclopedia is a detailed jescription of the 8085A instruction set. Each nstruction is described in the following man-

When a register or data word contains a binary number, it is necessary to establish the order in which the bits of the number are written. In the Intel 8085A, BIT 0 is referred to as the Least Significant Bit (LSB), and BIT 7 (of an 8-bit number) is referred to as the Most Significant Bit (MSB)_

An 8085A program instruction may be one, two or three bytes in length. Multiple-byte instructions must be stored in successive memory locations; the address of the first byte is always used as the address of the in- struction. The exact instruction format will depend on the particular operation to be executed.

ler:

I. The MCS-85 macro assembler format, con- sisting of the instruction mnemonic and operand fields, is printed in BOLDFACE on the first line.

~.The name of the instruction is enclosed in parentheses following the mnemonic.

3.The next lines contain a symbolic description of what the instruction does.

tThis is followed by a narrative description of the operation of the instruction.

Single Byte Instructions

I0 7 I I I I I I I Do I Op Code

Two-Byte Instructions

Byte I0

I

I0

I Data or

Two

7

0

Address

~--------------------

~

All mnemonics copyrighted © Intel Corporation 1976.

5-2

Page 87
Image 87
Intel MCS-80/85 manual Label, Instruction and Data Formats, Data Word, Jnn

MCS-80/85 specifications

The Intel MCS-80/85 family, introduced in the late 1970s, is a seminal collection of microprocessors that played a pivotal role in the early days of computing. The MCS-80 series, initially targeting embedded systems and control applications, gained remarkable attention due to its innovative architecture and flexible programming capabilities.

The MCS-80 family is anchored by the 8080 microprocessor, which was one of the first fully integrated 8-bit microprocessors. Released in 1974, the 8080 operated at clock speeds ranging from 2 MHz to 3 MHz and featured a 16-bit address bus capable of addressing up to 64KB of memory. The processor’s instruction set included around 78 instructions, providing extensive capabilities for data manipulation, logic operations, and branching.

Complementing the 8080 was a suite of support chips, forming the MCS-80 platform. The most notable among them was the 8155, which integrated a static RAM, I/O ports, and a timer, tailored for ease of designing systems around the 8080. Other support chips included the 8085, which provided improvements with an integrated clock generator, making it compatible with more modern designs and applications.

The MCS-85 series, on the other hand, revolves around the 8085 microprocessor, which provided a more advanced architecture. The 8085 operated at clock speeds of up to 6 MHz and came with a 16-bit address bus, similar to its predecessor. However, it introduced more sophisticated features, including an enhanced instruction set and support for interrupt-driven programming. These enhancements made the 8085 especially appealing to developers working in real-time processing environments.

The MCS-80/85 family utilized NMOS technology, known for its lower power consumption and higher performance compared to previous technologies like TTL. The family’s architecture allowed for easy interfacing with a variety of peripherals, making it a favorite for educational institutions and hobbyists embarking on computer engineering projects.

With its robustness, versatility, and affordability, the Intel MCS-80/85 microprocessors laid the groundwork for many subsequent microcomputer systems and applications. The legacy of this powerful family continues to influence modern microprocessor design, emphasizing the importance of reliable architecture in a rapidly evolving technology landscape.