pTAL Reference Manual (H06.08+)
Language Elements
HP pTAL Reference Manual—523746-006
2-6
Operators
Template structure (*) Template structure declaration
FIXED(*) parameter type (*) Value parameter to be treated as FIXED
Bit-field access . (period) Accesses a bit-deposit or bit-extraction
field (<n > or <n :n >)
Bit shift <<
>>
'<<'
'>>'
Signed left shift
Signed right shift
Unsigned left shift
Unsigned right shift
Arithmetic expression +
-
*
/
'+'
'-'
'*'
'/'
'\'
LOR
LAND
XOR
Signed addition
Signed subtraction
Signed multiplication
Signed division
Unsigned addition
Unsigned subtraction
Unsigned multiplication
Unsigned division
Unsigned modulo division
Logical OR bit-wise operation
Logical AND bit-wise operation
Exclusive OR bit-wise operation
Relational expression <
=
>
<=
>=
<>
'<'
'='
'>'
'<='
'>='
'<>'
Signed less than
Signed equal to
Signed greater than
Signed less than or equal to
Signed greater than or equal to
Signed not equal to
Unsigned less than
Unsigned equal to
Unsigned greater than
Unsigned less than or equal to
Unsigned greater than or equal to
Unsigned not equal to
AND
OR
NOT
Logical conjunction
Logical disjunction
Logical negation
Table 2-5. Operators (page 2 of 2)
Context Operator Description










