Intel MCS-80/85 Has the entire, JNZ search, Return, Clear HL, Move SP to HL, Save sP, To SP, Loop

Models: MCS-80/85

1 210
Download 210 pages 34.15 Kb
Page 172
Image 172

For an example with N = 256, CC = .32 f.Lsec at 3.125 MHz; Byte time = 6.7 f.Lsec. A match search routine with minimum memory usage is given below:

Search Cmp M

compare byte

RZ

return if match

INX H

else increment pointer

OCR C

has the entire

JNZ search

block been searched?

STC

If so set no match flag

RET

and return.

In this application, a user may want to have several tempera- ture ranges which can be swapped in and out with a block move subroutine. Similar code can be developed for this as shown below for a 4 byte move group:

BLKMV

LXI H, OOOH

clear HL

 

DAD SP

move SP to HL

 

SHLD SAVESP

save sP

 

MOV H, B

move Block move

 

MOV L, C

Source address

 

SPHL

To SP

 

XCHG

Move Block move

 

 

address to HL

Loop

POPB

fetch four bytes from

 

POP 0

source store 1st byte

 

MOV M, C

at destination

 

INX H

 

 

MOV M, B

2nd

 

INX H

 

 

MOV M, E

3rd

 

INX H

 

 

MOV M. 0

4th

 

INX H

 

 

OCR A

check for end of

 

JNZ Loop

Block move

 

LHLD SAVESP

return old

 

SPHL

SP

 

RET

return

Once the count less than match is found in the application the HL register has 10 added to it which points it at the corre- sponding temperature (lines 79-82). This temperature is then displayed in the address field of the SDK 85 display using user available monitor routines. If the temperature is out of range the code detects it (lines 69-74) and outputs 1'son Port A or Port B if the temperature was too low or too high respec- tively (lines 101-105 "too low" and lines 108-112 "too high").

A1-31

Page 172
Image 172
Intel MCS-80/85 Has the entire, JNZ search, Return, Clear HL, Move SP to HL, Save sP, Move Block move, Source address, Pop

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.