HP 68000 Series User Manual page 442

Debugger/simulator
Table of Contents

Advertisement

Chapter 10: Expressions and Symbols in Debugger Commands
Expression Elements
following table lists the legal prefixes or suffixes that may be specified with
integer constants to denote a specific base.
Constant
Prefix
Type
Descriptor
Binary
Decimal
Hexadecimal
0x,0X
Hexadecimal constants starting with the letters A through F (or a through f)
must be prefixed with a zero. Otherwise, the debugger attempts to interpret
the value as a symbol name.
By default, the debugger interprets integer constants as decimal values. The
"Configuring the Debugger" chapter describes how to change the default radix
for assembly-level values.
Note
You cannot use binary numbers when the radix is hexadecimal.
The debugger truncates values larger than that which can be contained in an
element of an expression or command. The debugger extends values less than
that allowed in the element. The truncation and extension are both
implemented according to the rules of C.
The examples given in the following table show the use of prefix and suffix
descriptors.
420
Integer Constant Prefixes and Suffixes
Suffix
Descriptor
b, B
t, T
h, H
Base
Digit
2
0-1
10
0-9
16
0-9, A-F, a-f

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents