HP 68302 User Manual page 208

Hide thumbs Also See for 68302:
Table of Contents

Advertisement

Numeric Constants
All numeric constants are assumed to be hexadecimal, except when the
number refers to a count; count values are assumed to be decimal. By
appending a suffix to the numeric value, you can specify its base.
The debugger expressions support the following numeric constants with or
without radix:
Hexadecimal
Alphanumeric strings starting with "0x" or "0X" and
consisting of any of '0' through '9', 'A' through 'F', or 'a'
through 'f' (for example: 0x12345678, 0xFFFF0000).
Alphanumeric strings starting with any of '0' through '9',
ending with 'H' or 'h', and consisting of any of '0' through
'9', 'A' through 'F', or 'a' through 'f' (for example:
12345678H, 0FFFF0000h).
Alphanumeric strings starting with any of '0' through '9'
and consisting of any of '0' through '9', 'A' through 'F', or 'a'
through 'f' (for example: 12345678, 0FFFF0000).
Hexadecimal strings starting with alphabetical characters
must be preceded by 0. For example, FF40H must be
entered as 0FF40H.
Decimal
Numeric strings consisting of any of '0' through '9' and
ending with 'T' or 't' (for example: 128T, 1000t).
Octal
Numeric strings consisting of any of '0' through '7' and
ending with 'O' or 'o' (not zero) (for example: 200o, 377O).
Binary
Numeric strings consisting of '0' or '1' and ending with 'Y' or
'y' (for example: 10000000y, 11001011Y).
Don't Care
Numeric strings containing 'X' or 'x' values. All numeric
strings must begin with a numeric value. For example,
x1x0y must be entered as 0x1x0y.
Chapter 7: Expressions in Commands
Numeric Constants
209

Advertisement

Table of Contents
loading

Table of Contents