l\EDIT-86 User's Guide

Macro Commands

5.3 Macro Modes

A macro may be either modeless (terminated with \MM after it is converted to macro form) or non-modeless (terminated with \EM after it is converted to macro form). All macros created with MACRO Create are modeless. A non-modeless macro may be created using MACRO Insert or by editing a saved modeless macro.

Any modeless or non-modeless macro may be used at main command level or in either INSERT or XCHANGE modes.

A modeless macro is independent of whether it is called from main command level, INSERT or XCHANGE mode. This allows you to use the same macro at the main command level and in INSERT or XCHANGE mode. When you execute a modeless macro, it executes as if it is at main command level. When it finishes execution, it restores the mode (e.g., XCHANGE) that was in effect when it was activated.

Anon-mode1ess macro is executed at the AEDIT-86 prompt level that was in effect when the macro was activated. When the macro finishes execution, it does not restore the mode that was in effect when it was activated. Instead, AEDIT-86 remains in the mode determined by the macro. Non-modeless macros provide compatibility and upgrading with respect to AEDIT V 1.0.

Modeless macro execution always give the same results regardless of the mode from which it was executed. Non-modeless macro execution results usually depend on the context (mode) from which they were caned. It is recommended that you use modeless macros whenever possible.

For example, compare the following macros:

MA \BRi*\BR \MM

MB\BRi*\BR \EM

The first macro is modeless. When it is executed, the character * is inserted whether or not it was called from main command level, INSER T. or XCHANGE mode; when the macro finishes, the initial mode is retained.

The second macro is non-modeless. If it is called from main command level, the results are the same as for the first; i.e., the character * is inserted and the editor remains at main command level. But, if the second macro is called from INSERT mode, for example, the characters i* are inserted into the text, and the <ESC) command ( \ BR) causes the editor to leave INSERT mode and return to main command level.

5.4 EXECUTE Command

The EXECUTE command requests a macro name and executes the specified macro.

In macro execution all input is taken from the macro except for answers to the following questions/requests:

?Replace: ·'ok to replace?"

QUIT Init or QUIT Abort: "all changes lost?"

BLOCK Delete: "cannot save in memory, save anyway?"

Uhit space to continue"

QUIT Write or BLOCK Put: ·'overwrite existing file?"

In the prompts listed above, the response to the prompt is taken from the console.

5-5

Page 79
Image 79
Intel AEDIT-86 manual Macro Modes, Execute Command

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.