Prism 6.0 User's Guide

Specifying the Radix

You can specify the radix to be used in printing or displaying values by adding a suffix of the form /radix to the print or display command. radix can be b (binary), d (decimal), x (hexadecimal), or o (octal). For example,

print/b pvar1

prints the binary representation of pvar1 in the command window.

display/x pvar2 on dedicated

displays the hexadecimal values of pvar2 in a dedicated window.

The default radix is decimal, unless you have used the set $radix command to change it; see " Changing the Default Radix".