AEDIT-86 User9s Guide

Macro Commands

A cursor movement command prefixed by / is never marked as failed.

If the SET Go option is on, the (-)FIND and (?)REPlACE commands are never marked failed.

When a command in a macro is marked as failed, the following occurs: Macro execu- tion is terminated, and control is returned to the caller. If the caller is main command level, AEDIT-86 simply waits for the next command. If the caller itself is a macro, execution continues with the caller's next command.

Example

Macro A: /E(XECUTE) B

E(XECUTE) C

E(XECUTE) D

Macro B: J(UMP) S(tart)

/R(EPLACE) •• ( nl) (nl)" with" ( nl ) ,.

Macro C: S(ET) G(o) Y(es)

J(UMP) S(tart)

/R(EPlACE) "DCl" with "DECLARE"

J(UMP) S(tart)

/R(EPLACE) "IS" with "lITERAllY"

A value for SET Go in macro A is meaningless, because it does not contain a (-)FIND or (?)REPLACE command. When /EXECUTE B is terminated either normally or because macro B failed, macro C is executed. Likewise, when macro C is terminated, macro D is executed.

SET Go must be set to No (the default) for macro B. The REPLACE command is successful as long as the file contains at least one (nl) (nl) sequence. When the file contains no (nl) (nl) sequences, macro B fails, execution of macro B is terminated, and macro C is executed. If SET Go is Yes for macro B, it will never fail, and execution of macro B would enter an infinite loop.

SET Go must be set to Yes for macro C. This option ensures that the second REPLACE command is performed regardless of the results of the first REPLACE command. S(ET) G(o) Y(es) could be placed after the JUMP command, and the effect would be the same.

If you are not careful in coding your macro, it might enter an infinite loop when it executes. To exit from such a macro or to terminate any macro, press (CTRl-C).

5.9 Screen Display during Macro Execution

To speed up macro execution, the amount of data written to the screen while a macro is executing is reduced to a minimum. Only selected text or information is sent to the screen. The information in this section is given for reference.

5.9.1 Text

If SET Display No (the default) is in effect, changes in the text and cursor movements are displayed on the screen as long as the cursor does not leave the current display screen, or until a VIEW command (either explicit or implicit) is issued. When the cursor leaves the screen or a VIEW command is issued, screen display is frozen until the macro execution terminates. Then, an implicit VIEW command is performed using the current logical cursor location.

5-9

Page 83
Image 83
Intel AEDIT-86 manual Screen Display during Macro Execution, Text, Execute C Execute D

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.