Enter command

Purpose: The Enter command has two modes of operation:

■ Replaces the contents of one or more bytes, starting at
the specified address, with the values contained in the
list (see option 1).

■ Displays and allows modification of bytes in a sequential
manner (see option 2).

Format: E address [list]

Remarks: If you enter only an offset for the address, the E command
assumes the segment contained in the DS register.

The Enter command has two format options:

Option 1

Use this option to place the list in memory beginning at the
specified address.

E address list

For example:

E ds:100 F3 "xyz" 8D

Memory locations ds:100h through ds:104h are filled with the
5 bytes specified in the list.

Option 2

Use this option to display the address and the byte of a lo-
cation, then the system waits for your input.

For example:

E address

Take any of the next 4 actions:

1. Enter a 1-or 2-character hexadecimal value to replace
the contents of the byte.

2. Press the space bar to advance to the next address. Its
contents are displayed. If you want to change its con-
tents, take action 1 above.

3. Enter a hyphen (-) to back up to the preceding address.
A new line is displayed with the preceding address and its
contents. If you want to change the contents take action 1
above.

To back up one more byte without changing the current
byte, enter another hyphen.

4. Press the Enter key to end the Enter command.

Note:
Display lines can have 4 or 8 bytes of data, depending on
whether the system display format is 40- or 80-column.
Spacing beyond an 8-byte boundary causes a new display
line, with the beginning address, to be started.

For example:

E cs:100

might cause this display:

04BA:0100 EB._

To change the contents of 04BA:0100h from EBh to 41h, enter
41.

04BA:0100 EB.41_

To see the contents of the next three locations, press the
space bar three times. The screen might look like this:

04BA:0100 EB.41 10. 00. BC._

To change the contents of the current location (04BA:0103h)
from BCh to 42h, enter 42.

04BA:0100 EB.41 10. 00. BC.42_

Now, suppose you want to back up and change the 10h to 6Fh.
This is what the screen would look like after entering two
hyphens and the replacement byte:

04BA:0100 EB.41 10. 00. BC.42-
04BA:0102 00.-
04BA:0101 10.6F_

Press the Enter key to end the Enter command. You will see the
hyphen (-) prompt.