THE INSTRUCTION SET

SIM (Set Interrupt Masks) (8085 only)

The execution of the SIM instruction uses the contents of the accumulator (which must be previously loaded) to perform the following functions:

Program the interrupt mask for the RST 5.5, 6.5, and 7.5 hardware inter- rupts.

Reset the edge-triggered RST 7.5 in- put latch.

Load the SOD output latch.

To program the interrupt masks, first set ac- cumulator bit 3 to 1 and set to 1 any bits 0, 1, and 2, which disable interrupts RST 5.5, 6.5, and 7.5, respectively. Then do a SIM in- struction. If accumulator bit 3 is 0 when the SIM instruction is executed, the interrupt mask register will not change. If ac- cumulator bit 4 is 1 when the SIM instruc- tion is executed, the RST 7.5 latch is then reset. RST 7.5 is distinguished by the fact that its latch is always set by a rising edge on the RST 7.5 input pin, even if the jump to service routine is inhibited by masking. This latch remains high until cleared by a RESET IN, by a SIM Instruction with ac- cumulator bit 4 high, or by an internal pro- cessor acknowledge to an RST 7.5 interrupt subsequent to the removal of the mask (by a SIM instruction). The RESET IN signal always sets all three RST mask bits.

If accumulator bit 6 is at the 1 level when the SIM instruction is executed, the state of accumulator bit 7 is loaded into the SOD latch and thus becomes available for inter- face to an external device. The SOD latch is unaffected by the SIM instruction if bit 6 is O. SOD is always reset by the RESET IN signal.

7

 

 

 

 

 

0

 

 

 

 

 

 

 

 

Opcode:

 

I 0

0

 

 

0

o. 0

0

Accumulator 7

6

5

4

3

2

0

Content

 

 

 

 

 

 

Before

SIM:

RST 5.5 Mask

RST 6.5 Mask

RST 7.5 Mask

'-----MaskSet Enable

~----ResetRST 7.5 Fllp·Flop

'-------- Undefined

'--------- SODEnable

'----------- SerialOutput Data

Cycles: 1

States: 4

Flags: none

• All mnemonics copyrighted (c-,Intel Corporation 1976.

5-18

Page 103
Image 103
Intel MCS-80/85 manual Sim

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.