10.2.4 Array Types
•
When the result of calculation is an array type other than a char [ ] type, the starting address is
displayed in hex as follows:
(signed int [10]) z = 0x1234(all Radices)_
•
When the result of calculation is a char [ ] type, it is displayed as follows:
(unsigned char [10]) str = 0x1234 "Japan"(all Radices)
If the string contains a non-printing code prior to the code to show the end of the string (0), it is
displayed up to the non-printing character and the closing quote mark is not displayed.
(unsigned char [10]) str = 0x1234 "Jap(all Radices)
Also if the string contains more than 80 characters, the closing quote mark is not displayed. When the
C/C++ expression is an array type as same as pointer type, a '+' is display to the left of the type name.
You can see the elements of the array by using this indicating. (for the details, refer"10.2.3 Pointer
Types") When the number of the array elements is more than 100, the following dialog box open.
Specify the number of the elements in the dialog box.
The elements from the index specified in "Start" to the index specified in "End" are displayed. If you
specify the value more than the max index of the array, the value is regarded as max index of the
array. When you click the "Cancel" button, the elements are not displayed.
10.2.5 Function Types
•
When the result of calculation is a function type, the starting address is displayed in hex as
follows:
(void()) main = 0xF000(all Radices)
10.2.6 Reference Types
•
When the result of calculation is a reference type, the reference address is displayed in hex as
follows:
(signed int &) ref = 0xD038(all Radices)
10.2.7 Bit Field Types
•
When the result of calculation is a bit field type, it is displayed as follows:
(unsigned int :13) s.f = 8191(when Radix is in initial state)
(unsigned int :13) s.f = 0x1FFF(when Radix is hex)
(unsigned int :13) s.f = 1111111111111B(when Radix is binary)
260
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...