EXPRESSIONS - Symbolic expressions accepted by trace.

Examples:

si .setu.-5,10
s vec+#al,10

Description:

Anywhere you can type in an address, you can enter an expression, composed of '+', '-', and octal constants, the symbol '*' (which refers to the current location), and any of the register designators #al, #au, #ql, #qu, #x0-#x7, #ar0-#ar7, or #ic, whose respective values are the contents of the lower and upper a-register, lower and upper q-register, index registers 0 to 7, the word displacements of the address registers, and the instruction counter. There is also the name "#tr" (also known as "#trace"), whose value is the origin of the trace package. This symbol occurs mostly when trace is printing a value in symbolic format. Furthermore, if the program being traced was loaded with the TSS YLOADER and the symbol tables were kept, you may use in an expression any symbol table name, which is converted to the associated address.

In fact, you can use a symbolic expression in almost all of the places where an octal number is used; e.g., ALLO, BC, OCT, USE etc.

Known Bugs:

The number reader is not very smart. Typing a digit 8 or 9 in a number is not diagnosed as an error, nor does it cause the number to be interpreted in decimal. The number is interpreted as octal, but the digits 8 and 9 are allowed. Thus '190' will be interpreted as:

1*64 + 9*8 + 0 = 136 decimal = 210 octal

Copyright © 1996, Thinkage Ltd.