Creating a LITERALLY Definition
The following example uses the DEFINE command to create a LITERALLY definition.
*0EFJNE LITERALLYdef -
Now def can be used in place of DEFINE. The character string to the right of the equal sign
can be up to 254 characters long.
You can also use a LITERALLY definition to replace a command line as shown in the follow
ing example.
*def LITERALLY mp - MAP 0 LENGTH 32K HS;MAP10 0 LENGTH 64T ICE;MAP;MAP}0
When you enter mp followed by a carriage return, the PICE system executes all the commands
in the character string. If you store this LITERALLY definition in the I2ICE.MAC file, it is
executed immediately after invocation. Note that this LITERALLY definition takes advantage
of the previous example by using def instead of DEFINE. In your I2ICE.MAC file, the LIT
ERALLY definition of def must precede that of mp. This example also shows that multiple
commands on the same line must be separated by semicolons (;).
Creating a Debug Register
Use the following syntax to define arm, break, event, system, and trace registers. The
ARMREG, BRKREG, EVTREG, SYSREG, and TRCREG entries in the PICE™ System Ref
erence Manual describe these registers in detail.
^ARMREG
DEFINE
i
^TRCREG
Creating a Debug Variable
The syntax for defining a debug variable is as follows:
DEFINE
Introduction to Using the PICE™ System
=
n a m e
a rm -sp e cific a tio n
BRKREG
=
n a m e
b re a k -s p e c ifica tio n
[CALL
EVTREG
= DO
n a m e
[CALL
END
SYSREG
n a m e =
CALL
=
n a m e
tra c e -s p e c ific a tio n
=
m ty p e n a m e [
value]
DEFINE'
d e b u g -p ro c e d u re -n a m e ]
e v e n t-s p e c ifica tio n
d e b u g -p ro c e d u re -n a m e ]
SYSTRIG
SYSARM
s y s te m -s p e c ific a tio n
SYSDARM
d e b u g -p ro c e d u re -n a m e ]
>
3-9