Editing Commands - Data I/O 298 Manual

Universal programmer
Table of Contents

Advertisement

B.8.5 EDITING COMMANDS
The following are Editing Commands:
COMPLEMENT MEMORY Command
Operation:
COMPLEMENT MEMORY
Code:
CM
Syntax:
(>)
[C] [M] [Beginning Address] [/] [Number
of Bytes] [CR]
Explanation: This command causes the programmer to
complement RAM contents at the specified
addresses; that is, all one bits are turned into
zeros, and all zero bits are turned into ones.
If no addresses are specified, all RAM data is
complemented.
CLEAR ALL RAM Command
Operation:
CLEAR ALL RAM
Code:
CA
Syntax:
(>)
[Cl [A] [CR]
Explanation: This command clears all RAM memory to
zeros, whether the programmer is set for 4-bit
or 8-bit operation.
SWAP NIBBLES Command
Operation:
SWAP NIBBLES
Code:
SN
Syntax:
{>)
[S] [N] [CR]
Explanation: This command exchanges high-order and low-
order halves of every word in RAM.
SPLIT RAM DATA Command
Operation:
Code:
Syntax:
Explanation:
SPLIT RAM DATA
SD
{>)
[S] [D] [Center Point] [CR]
For 16-bit microprocessor data; complement
of Shuffle Ram Data (below). After you
serially input a block of 16-bit data to RAM
(each sequential pair of 8-bit bytes
representing a 16-bit word), the SD command
"splits" the 16-bit block into two adjacent
8-bit blocks, separated by the specified center
point. The split stores the even-numbered
8-bit bytes of each byte pair in sequence from
address 0 to the center point; odd-numbered
bytes are stored in sequence at addresses
beginning at the center point. The
reorganized data occupies the same original
block in RAM.
You can then program each block of data
into an 8-bit device, and the two devices can
be addressed in parallel (while in use) to
deliver 16-bit words to the processor.
Typically, the center point
\AJi!!
equal the
number of words in the 8-bit device to be
programmed. In any event, it must meet two
requirements:
1 .. It must be a power of
2.
2.
It must be less than or equal to half the
size of the resident RAM.
Center-point default value- RAM midpoint.
SHUFFLE RAM DATA Command
Operation:
SHUFFLE RAM DATA
Code:
SH
Syntax:
Explanation:
(>)
[S]
(H]
[Center Point] [CR]
For 16-bit microprocessor data. Complement
of Split RAM Data, this command merges
into one 16-bit biock the two adjacent 8-bit
blocks of data which met at the specified
center point address. Two 8-bit devices are
first loaded next to each other in RAM
beginning at address
0,
to create the
~o
blocks, which are then merged for serial
transfer. The center-point must be a povver of
2
between
0
and RAM midpoint. Center-point
default value- RAM midpoint.
RAM-RAM BLOCK MOVE Command
Operation:
RAM-RAM BLOCK MOVE
Code:
BL
Syntax:
(>) [B]
[C] [RAM Source Address] [/]
[Number of Bytes] [/] [RAM Destination
Address] [CR]
Explanation: This command instructs the programmer to
move the specified number of bytes beginning
at the RAM Source Address to a new RAM
location beginning at the RAM Destination
Address.
B-15
10-990-0013

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 298 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents