Ad,anced AEDIT-86Usage

AEDIT-86 User9s Guide

8.3.2 Example 2

Macro <CTRL-W) moves the cursor one word to the right. A word (in this case) is defined as a sequence of characters enclosed by delimiters. Delimiters are defined as white spaces or the user defined delimiters (listed under SET E_delimiter). The technique IF cond THEN RETURN is used here. In the nested macros, N9 defines whether or not the cursor is on a delimiter. If the value fetched by <FETN ) 9 is 0 (false), the FIND succeeds and the macro is repeated. If the value fetched by <FETN ) 9 is 1 (true), the FIND fails and execution returns to the calling macro.

M \ 017 \ BROf- \ RB \ BRie \ 0171 \ NL/e \ 0172 \ NL \ MM; \ . word right macro· \ M \ 0171 \ BRcn9=iswhte \ NL \ XN9f \ BR \ CR \ MM;

M \ 0172 \ BRcn9 = !isdel \ NL \ XN9f \ BR \ CR \ MM;

Macro <CTRL-Q) differs from macro <CTRL-W) only in that it moves the cursor one word to the left.

M \ 011 \ BROf- \ RB \ BR \ CL/e \ 0111 \ NL/e \ 0112 \ NL \ CR \ MM; \ . word left macro • \ M \ 0112 \ BRcn9=iswhte \ NL \ XN9f\ BR \ CL \ MM;

M \ 0111 \ BRcn9=!isdel \ NL \ XN9f \ BR \ CL \ MM;

Note that the macros are optimized to some extent. A find empty string is issued first; therefore, a future FIND command uses < ESC) as an argument, not the sequence - <RUBOUT) <ESC).

8.3.3 Example 3

MacroCNTR centers the text on the line. This macro strips all blanks from the left side, then all blanks from the right side. It calculates the number of blanks to be added and adds the blanks from the left margin to the first character so that the text is centered on the line. Skipping blanks is done with the + B and the - B macros. The number of blanks to be added is calculated using the read-only variables RMARGN, LMARGN, and COL. + Band - B use Advance_While macro techniques.

MCNTR \ BRjpO \ NLe + b \ NL \ XXjp254 \ NLi \ BR \ CLe - b \ NL \ CR

\XA cn9=(rmargn+ I +lmargn-col)/2 \ NLcn9= -n9·(n9>0) \ NLjpO \ NLi \ BRb

\CLb \ XF \ XN9g \ NL \ NL \ MM;

M+B \ BR/e+Bl \ BR \ MM;

M+bl \ BRcn9=!(curch==20H) \ NL \ XN9f- \ RB \ BR \ CR \ MM;

M-B \ BR/e-BI \ BR \ MM;

M-bl \ BRcn9=!(curch= =20H) \ NL \ XN9f- \ RB \ BR \ CL \ MM;

8-6

Page 106
Image 106
Intel manual Ad,anced AEDIT-86Usage AEDIT-86 User9s Guide

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.