9.1.1 Script Command
You can use the same script commands that you enter in the Script Window. You can also call script
files from within other script files (nesting up to 10 levels).
9.1.2 Assign Statement
Assign statement s define and initialize macro variables and assign values. The following shows the
format to be used.
%macro-variable = expression
•
You can use alphanumerics and the underscore (_) in macro variable names. However , you
cannot use a numeric to start a macro variable name.
•
You can specify any expression of which the value is an integer between 0h and FFFFFFFFh to
be assigned in a macro variable. If you specify a negative number, it is processed as twos
complement.
•
You can use macro variables within the expression.
•
Always precede macro variables with the "%" sign.
9.1.3 Conditional Statement
In a conditional statement, different statements are executed according to whether the condition is
true or false. The following shows the format to be used.
if ( expression )
statement 1
else
statement 2
endi
•
If the expression is t rue (other than 0), statement 1 is executed. If false, (0), statement 2 is
executed.
•
You can omit the else statement. If omitted and the expression is false, execution jumps to the
line after the endi statement.
•
if statements can be nested (up to 32 levels).
246
Содержание Emulator Debugger M16C PC4701
Страница 13: ...Setup of Debugger 1...
Страница 14: ...Blank Page 2...
Страница 73: ...Tutorial 59...
Страница 74: ...Blank Page 60...
Страница 95: ...Reference 81...
Страница 96: ...Blank Page 82...
Страница 119: ...7 Windows Dialogs When TRIGGER is selected Breaks for the status of signal input from external trace cable 105...
Страница 127: ...7 Windows Dialogs 7 7 6 1 1 Writing Reading a Specified Address Set as below Example Writing to even address 400h 113...
Страница 128: ...Example Writing byte length data 32h to even address 400h 114...
Страница 130: ...16 bits bus width 116...
Страница 132: ...2nd point 118...
Страница 133: ...7 Windows Dialogs 16 bits bus width 119...
Страница 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Страница 138: ...Example Writing byte length data 32h to even address 400h 124...
Страница 140: ...16 bits bus width 126...
Страница 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Страница 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Страница 146: ...Example Writing byte length data 32h to even address 400h 132...
Страница 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Страница 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Страница 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Страница 177: ...7 Windows Dialogs When TRIGGER is selected Measures for the status of signal input from external trace cable 163...
Страница 294: ...MEMO 280...