Intel 8080, 8085 manual Chapter PL/M Linkage Conventions

Page 25

CHAPTER 5

PL/M LINKAGE CONVENTIONS

With the relocation feature, it is possible for an assembly language program module to call a procedure originally coded in PL/M. (PL/M procedures can also call assembly language modules.)

Linkage between assembly language modules and PL/M procedures should follow the linkage conventions of PL/M.

Formal parameters declared in a procedure definition are treated as locally-defined variables for the PL/M procedure. That is, each parameter is allocated storage se- quentially in memory as if it were a variable local to the procedure. During pro- cedure invocation, actual parameters are evaluated, and the results assigned to the corresponding formal parameters. Parameters are passed as follows:

A single BYTE parameter is passed in register C. A single ADDRESS parameter is passed in register B (high-order byte) and C (low-order byte).

If there are two parameters, the first is passed as described above; the second is passed in registers D (high-order byte, if any) and E (low-order byte).

When there are more than two parameters, the last two are passed as described above, and the remainder are passed via the stack.

All actual parameters are copied into the locations of the formal parameters upon entry to the procedure.

CPU registers are used to hold results returned by procedures which have the BYTE or ADDRESS attribute. In the case of a BYTE procedure, the value is returned in the accumulator, while an ADDRESS procedure returns the low-order byte in the L register and the high-order byte in the H register.

5-1

Image 25
Contents ISIS-II 8080/8085 Macro Assembler Operatorsmanual Scope Prefacei Page Contentsi Page ISIS-II Assembler Environment Chapter Assembler OverviewInput/Output Files Assembler Files Symbol-Cross-Reference FilePage Chapter ISIS·IIAssembler Controls Primary Controls General Controls ISIS-II Assembler Control Lines Page Activation Sequence Sample AssemblyAsmbo MBADD.SRC Symbols Xref Macrofile Reducing Assembly Time Page Chapter List File Formats List File Formats 808O/808S Assembler Assembly Output Line Symbol Table Listing Cross-Reference Output Line Symbol-Cross-Reference ListingChapter PL/M Linkage Conventions Page Relocatable Programs Absolute ProgramsPage Error Codes Error Detection and ReportingError Messqes ISIS-II Error Messages FOCC= OOnn Request for Readerscomments 111111
Related manuals
Manual 96 pages 34.66 Kb Manual 262 pages 56.67 Kb Manual 160 pages 43.4 Kb

8080, 8085 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.