CMP M (Compare memory)

(A)((H) (L))

The content of the memory location whose address is contained in the Hand L registers is subtracted from the accumulator. The accumulator remains un- changed. The condition flags are set as a result of the subtraction. The Z flag is set to 1 if (A) = ((H) (L)). The CY flag is set to 1 if (A) < ((H) (L)).

o

o I

Cycles: 2

States: 7

Addressing: reg. indirect

Flags: Z,S,P,CY,AC

CPI data

(Compare immediate)

(A)(byte 2)

The content of the second byte of the instruction is subtracted from the accumulator. The condition flags are set by the result of the subtraction. The Z flag is set to 1 if (A) = (byte 2). The CY flag is set to 1 if

(A)< (byte 2).

,I , I

data

Cycles: 2

States: 7

Addressing: immediate

Flags: Z,S,P,CY,AC

RRC (Rotate right)

(An) ~ (A n-,); (A7) ~ (AO) (CY) ~ (AO)

The content of the accumu lator is rotated right one position. The high order bit and the CY flag are both set to the value shifted out of the low order bit posi- tion. Only the CY flag is affected.

0 I 0 I 0 I 0

I , I 1 I ,

Cycles:

1

States:

4

Flags:

CY

RAL (Rotate left through carry)

(A n+,) .. - (An) ; (CY) .. - (A7) (AO)"- (CY)

The content of the accumu lator is rotated left one position through the CY flag. The low order bit is set equal to the CY flag and the CY flag is set to the value shifted out of the high order bit. Only the CY flag is affected.

o I 0 I 0 I ,

o I 1 I , I ,

Cycles: 1

States: 4

Flags: CY

RAR (Rotate right through carry) (An) ~ (A n+l); (CY)..- (AO) (A7) ~ (CY)

The content of the accumulator is rotated right one position through the CY flag. The high order bit is set to the CY flag and the CY flag is set to the value shifted out of the low order bit. Only the CY flag is affected.

RLC (Rotate left)

(A n+l) ~ (An) ; (AO) ~ (A7) (CY) ~ (A7)

The content of the accumulator is rotated left one position. The low order bit and the CY flag are both set to the value shifted out of the high order bit posi- tion. Only the CY flag is affected.

Cycles: 1

States: 4

Flags: CY

Cycles: 1

States: 4

Flags: CY

CMA (Complement accumulator)

(A)~(A)

The contents of the accumulator are complemented- (zero bits become 1, one bits become 0). No flags are affected.

o I 0 I 1 I 0

I 1 I , I ,

Cycles: ,

States: 4

Flags: none

4-10

Page 54
Image 54
Intel 8080 manual 0 I 1 I, 0 I 0 1 I, 0 I 0 I, Cycles States Flags none

8080 specifications

The Intel 8085 and 8080 microprocessors were groundbreaking innovations in the world of computing, paving the way for future microprocessor development and personal computing.

The Intel 8080, introduced in 1974, was an 8-bit microprocessor that played a fundamental role in the early days of personal computing. With a 16-bit address bus, it had the capability to address 64 KB of memory. Running at clock speeds of 2 MHz, the 8080 was notable for its instruction set, which included 78 instructions and 246 opcodes. It supported a range of addressing modes including direct, indirect, and register addressing. The 8080 was compatible with a variety of peripherals and played a crucial role in the development of many early computers.

The microprocessor's architecture was based on a simple and efficient design, making it accessible for hobbyists and engineers alike. It included an 8-bit accumulator, which allowed for data manipulation and storage during processing. Additionally, the 8080 featured registers like the program counter and stack pointer, which facilitated program flow control and data management. Its ability to handle interrupts also made it suitable for multitasking applications.

The Intel 8085, introduced in 1976, was an enhancement of the 8080 microprocessor. It maintained a similar architecture but included several key improvements. Notably, the 8085 had a built-in clock oscillator, simplifying system design by eliminating the need for external clock circuitry. It also featured a 5-bit control signal for status line management, which allowed for more flexible interfacing with peripheral devices. The 8085 was capable of running at speeds of up to 3 MHz and had an extended instruction set with 74 instructions.

One of the standout features of the 8085 was its support for 5 extra instructions for stack manipulation and I/O operations, which optimized the programming process. Additionally, it supported serial communication, making it suitable for interfacing with external devices. Its 16-bit address bus retained the 64 KB memory addressing capability of its predecessor.

Both the 8080 and 8085 microprocessors laid the groundwork for more advanced microprocessors in the years that followed. They demonstrated the potential of integrated circuits in computing and influenced the design and architecture of subsequent Intel microprocessors. Their legacy endures in the way they revolutionized computing, making technology accessible to a broader audience, and their influence is still felt in the design and architecture of modern microprocessors today.