
278 Chapter 12
Scan tools
sppdsh
• ecc_cpy <address> <data> [size]—Copies the data into the
ECC associated with the cache line of address and repeats for size
cache lines.
Data conversion commands
Data conversion commands manipulate, evaluate or interpret data
within the diagnostic shell. They support a variety of logical, arithmetic
and string based operations. The following example is representative of
the data conversion commands:
abc=’and 0xff 0x55‘
Unless otherwise stated, these commands support data types that are
greater than 32 bits, not supported under ksh.
The following is a list of sppdsh data conversion commands:
and <arg1> <arg2>—And two data arguments.
or <arg1> <arg2>—OR two data arguments. For example:
abc=`or 0xff 0x55`
xor <arg1> <arg2>—Exclusively OR two data arguments. For
example:
abc=`xor 0xff 0x55`
even_parity <arg1> <arg2>—Return even parity. For example:
abc=`even_parity 0xff``
odd_parity <arg1> <arg2>—Return odd parity. Parity is based on 4
bytes, as an example:
abc=`odd_parity 0xff`
comp <arg1> <arg2>—Compare two data arguments. For example:
abc=`comp 0xff 0xff`
rshift <arg1> <arg2>—Right shift two data arguments. For
example:
abc=`rshift 0x55 0x1`
lshift <arg1> <arg2>—Left shift two data arguments. For example:
abc=`lshift 0x55 0x1`
l_add <arg1> <arg2>—Left add two data arguments. For example:
abc=`l_add 0x55 0x1`