9.2 Writing Expressions
This debugger allows you to use expressions for specifying addresses, data, and number of passes, etc.
The following shows example commands using expressions.
>DumpByte TABLE1
>DumpByte 20
You can use the following elements in expressions:
•
Constants
•
Symbols and labels
•
Macro variables
•
Register variables
•
Memory variables
•
Line Nos.
•
Character constants
•
Operators
9.2.1 Constants
You can use binary, octal, decimal, or hexadecimals. The prefix or suffix symbol attached to the
numerical value indicates which radix is used.
The debugger for M32C and M16C/R8C and 740
Hexadecimal Decimal
Octal
Binary
*
Prefix 0x,0X @
None %
Suffix h,H None o,O b,B
Examples 0xAB24
AB24h
@1234 1234o %10010
10010b
*You can only specify % when the predetermined radix is hexadecimal.
•
If you are inputting a radix that matches the predetermined radix, you can omit the symbol that
indicates the radix (excluding binary).
•
Use the RADIX command to set the predetermined value of a radix. However, in the cases shown
below, the radix is fixed regardless of what you specify in a RADIX command.
Type Radix
Address Hex
Line No.
No. of executions
No. of passes
Dec
248
Summary of Contents for Emulator Debugger M16C PC4701
Page 13: ...Setup of Debugger 1...
Page 14: ...Blank Page 2...
Page 73: ...Tutorial 59...
Page 74: ...Blank Page 60...
Page 95: ...Reference 81...
Page 96: ...Blank Page 82...
Page 128: ...Example Writing byte length data 32h to even address 400h 114...
Page 130: ...16 bits bus width 116...
Page 132: ...2nd point 118...
Page 133: ...7 Windows Dialogs 16 bits bus width 119...
Page 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Page 138: ...Example Writing byte length data 32h to even address 400h 124...
Page 140: ...16 bits bus width 126...
Page 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Page 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Page 146: ...Example Writing byte length data 32h to even address 400h 132...
Page 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Page 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Page 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Page 294: ...MEMO 280...