Intel 8080, 8085 manual Activation Sequence, Sample Assembly

Page 17

CHAPTER 31

ASSEMBLER OPERATION

The ISIS-II SOSO/SOS5 Assembler resides on the ISIS-II system diskette. The assembler is loaded by calling ASMSO at the ISIS-II command level and specifying your source file along with any desired assembler controls (Chapter 2). All requested assembler operations are performed without further intervention once the assembly begins.

Activation Sequence

The following command activates and completes an ISIS-II assembly:

-ASM80 PROG.SRC SYMBOLS NODEBUG

Following the ISIS-II command prompt (-), you issue a command to assemble the file PROG.SRC. Be default, an assembly listing and object code file are requested and are output to PROG.LST and.PROG.OBI respectively. In addition, a symbol table listing is performed, but symbol table output to the object file is suppressed. Note that the same effect can be achieved with no control specification, since the controls specified are both defaults.

The assembler sends out its sign-on message to the console device:

ISIS-II 8080/8085 MACRO ASSEMBLER, V2.0

After execution, the assembler issues a sign-off message and error summary:

ASSEMBLY COMPLETE, NO ERRORS

If XREF is selected, the sign-on message

ISIS-II ASSEMBLER SYMBOL CROSS REFERENCE, V2.0

is then issued on the console.

Sample Assembly

The following example illustrates a typical use of the ISIS-II assembler. A short pro-· gram (MBADD.SRC) is taken through all the steps needed to activate the assembler, obtain an object code file, and generate a symbol-cross-reference listing. The source program to be assembled is shown first, followed by the assembler activation se- quence. The resulting assembly and symbol-cross-reference listings are also shown.

The source code for program MBADD.SRC is as follows:

$

TITLE('MULTIBYTEADDITION PROGRAM')

 

NAME

MBADD

 

LOAD

MACRO OPD1,OPD2,CQUNT

L1:

LXI

B,OPD1

;;ADDRESSOF1STNO. TO Be

 

LXI

H,OPD2

;;ADDRESS OF 2ND NO. TO HL

 

LXI

D,COUNT ;;LOOP CONTROL COUNT TO 0

 

E.NDM

 

 

 

CSEG

 

 

 

PUBLIC NUM1,NUM2,NUM3

 

EXTRN

MAIN

 

3-1

Image 17
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.