EtiitiDg Commands

AEDIT-86 User's Guide

If you want to return to editing the target string, press <RUBOUT) with the cursor on the first position of the replacement string.

Press <ESC) if you are on the target string and <RUBOUT) if you are on the first character of the replacement string to reedit the target string and the replacement string as necessary.

Press < ESC) while editing the replacement string to terminate editing the target/replacement strings and to start the replacement process.

To delete a target string from text, the replacement string must be an empty string. The first time you request REPLACE, the replacement string will be an empty string; therefore, press < ESC) to enter an empty replacement string and execute the REPLACE command. If a replacement string from a previous command is displayed, type a character and press < RUBOUT) to remove the character. Then press

<ESC) a second time to enter the empty replacement string and execute the command.

Operation of the REPLACE command is affected by the following attributes (equiv- alent to the FIND command):

Case - consider case of Find target

Showfind - list lines or multiple finds

K_token - find only token strings

Case, Showfind, and K_token refer to features set using the SET command, which is described later in this chapter.

Case refers to upper- or lowercase letters. If Case is no, upper- and lowercase letters are equivalent.

If Showfind is yes, each line that contains the target string is displayed.

The string -{ mode} contains an abbreviation for the features, Case (Cs), Token (Tk), and Showfind (Sh). The abbreviation is displayed only if the specified feature is set to yes. If more than one feature is yes, the features are separated with a blank.

To abort a REPLACE command, press <CTRL-C ) .

The message "found: count replaced: count" is displayed when the command is complete.

The (?)REPLACE and (-)FIND commands share the same target string and each changes the other's default target.

Count. The REPLACE command accepts any count where count indicates the number of times to replace a target string. Replacement stops after replacing the last occurrence of the target string or count is exhausted.

Error. "not found: targeLstring" is displayed if no match is found, and the editor returns to main command level.

Related Commands. SET Case, SET K_token, SET Showfind

3. 13 ?REPLACE Command

The ?REPLACE command is the conditional REPLACE command.

3.13.1 Description

Press ?; AEDIT-86 prompts-

---- <HOME> to re-edlt

? Rep 1 e c e {mode} II targeLstring"

3-10

Page 40
Image 40
Intel AEDIT-86 manual 13 ?REPLACE 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.