Ski IA-64 Simulator Reference Manual 1.0L
Table 4-1. Ski Simulator Arithmetic and Logic Operators
Operator | Description |
|
|
( ) | group operators with operands |
! ~ + - * | opposite truth value, logical one’s complement, |
| unary plus, unary minus, dereference: treat as an |
| address and read eight bytes |
* / | multiply, divide |
+ - | add, subtract |
<< >> | logical left shift, logical right shift |
< <= > >= | less than, less than or equal to, greater than, greater |
| than or equal to |
== != | equal to, not equal to |
& | bitwise and |
^ | bitwise exclusive or |
bitwise or | |
&& | logical and |
logical or | |
|
|
As an example, in xski,
eval 64 0d64 0o64 0b100000 *main ~(((0D1234+0X10EF0)*4)<<6)+0B10001001
prints the values of the six expressions in the Main Window, as shown in Figure
Figure 4-1. xski Evaluating Expressions
Copyright © 2000 | Command Language |