AEDIT-86User's Guide

Advanced AEDIT-86 Usage

(e.g., ISDEL, CURCH = 20H). The method consists of two nested macros. The "low level" macro advances one character and fails when the condition is not met (named Advance_One). The "main" macro executes the first one an infinite number of times and actually terminates when the condition is not met, and continues with the next instruction:

Advance_While: ... / E(XECUTE) Advance_One ...

Advance_One: C(ALC) N9=!cond

<FETN) 9 F{lND) - <RUBOUT) (ESC) (RIGHT)

or in macro form:

MAdvance_While \ BR ... /EAdvance_One \ NL. ..

MAdvance_One \ BRCN9=!cond\ NL \ XN9F- \ RB \ BR \ CR...

If, for example, you want to implement skip to the next blank/tab, then cond is "CURCH<>20H & CURCH<>09H".

To implement Backward_While (cond), the same method is used, but the last command in Advance_One should be <LEFT) (\ Cl) instead of (RIGHT) ( \ CR).

8.3 Examples

The examples included in this section are macros from USEFUL.MAC. They are explained in greater detail to show the usage of the above techniques.

8.3.1 Example 1

The following set of macros converts single letters or words from uppercase to lower- case or vice versa. It executes nested macros (e.g.. macro l calls macro U2l), uses the CALC comma'tld (e.g., C(AlC) n8=(n9=lowch) and read-only variables (e.g., lowch, curch, upch), calls the SET command (S(ET) R(adix) A) and the fetch function (e.g., < FETN ) 8).

Ml \ BReu21 \ NL \ CR \ XN8eLUll \ BR \ MM;

\ * letter to lower case * \

MU \ BRel2u \ NL \ CR \ XN8eLU II \ BR \ MM;

\ * letter to upper case * \

M_ \ BRe+W \ NL/e1l2 \ NLe+W \ BR \ MM;

\ * word to lower case * \

M/\ \ BRe+W \ NL/eu12 \ NLe+W \ BR \ MM;

\ * word to upper case * \

_________MU2L \ BRCN8=(N9=lowch)<>curch \ Nl \ MM;

 

ML2U \ BRCN8=(N9=upch )<>curch \ NL \ MM;

 

MLUII \ BR \ CLsrax \ XN9 \ BR \ MM;

MLI2 \ BRCN7=iswhte I eof \ NL \ XN7f- \ RB \ BRI \ MM;

MUI2 \ BRCN7=iswhte Ieof\ NL \ XN7f- \ RB \ BRu \ MM;

Note the use of the following techniques:

Macro L executes LUI I using the IF cond THEN statement

Macro L12 simulates Advance_While the current character is not a white space. In this case, it also converts the character to lowercase.

Macro _ (underscore) uses + W to skip to the next nonwhite space character.

8-5

Page 105
Image 105
Intel AEDIT-86 manual Examples

AEDIT-86 specifications

The Intel AEDIT-86, also known as the Intel 8086, is a notable microprocessor that played a critical role in shaping the computing landscape. Released in 1978, it was Intel's first 16-bit microprocessor, setting the stage for the x86 architecture that continues to influence modern computing.

One of the main features of the AEDIT-86 is its 16-bit architecture, which allows it to process data in larger chunks compared to its 8-bit predecessors. This capability not only improves performance but also increases the amount of memory that can be addressed, allowing for a maximum of 1 MB of RAM. This was a significant advancement at the time, enabling more complex software and operating systems to run efficiently.

The AEDIT-86 is built on a 3-micron process technology, which was innovative for its time and contributed to its performance capabilities. The microprocessor operates at a clock speed of up to 5 MHz, which allowed it to execute more instructions per second than previous generations of processors. This speed, combined with its wide data bus (16 bits), enables the processor to handle a larger volume of information more quickly.

Intel incorporated several key technologies in the AEDIT-86, including segmentation. This feature divides the memory into different segments, making it easier for programs to access data and improving memory management. The AEDIT-86 also supports a minimum of four 64 KB segments, which enhances the organization and access of programs and data in memory.

Another significant aspect of the AEDIT-86 is its compatibility with the existing 8080 and 8085 instruction sets, which facilitated easier migration for developers and helped the processor gain traction in the market. This backward compatibility allowed existing software to be ported to the new platform with minimal modification.

Furthermore, the Intel AEDIT-86 introduced a powerful instruction set that includes both integer and string manipulation commands, paving the way for more versatile programming. The instruction set architecture (ISA) of the AEDIT-86 supports both high-level programming languages and low-level assembly language, offering flexibility for various applications.

In summary, the Intel AEDIT-86 is a groundbreaking microprocessor known for its 16-bit architecture, advanced segmentation technology, and compatibility with earlier instruction sets. Its introduction marked the beginning of the x86 architecture, which has influenced countless processors and computing systems that followed. The AEDIT-86's features and technologies were instrumental in the evolution of personal computing, laying the groundwork for future innovations in the industry.