Motorola M68CPU32BUG Manuel d'utilisateur Page 19

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 196
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 18
DEBUG MONITOR DESCRIPTION
M68CPU32BUG/D REV 1 2-3
2.2.1.1 Expression as a Parameter
An expression is one or more numeric values separated by the arithmetic operators:
+ plus
minus
* multiplied by
/ divided by
& logical AND
<< shift left
>> shift right
Base identifiers define numeric values as either a hexadecimal, decimal, octal or binary number.
Base Identifier Examples
Hexadecimal $ $FFFFFFFF
Decimal & &1974, &10-&4
Octal @ @456
Binary % %1000110
If no base identifier is specified, then the numeric value is assumed to be hexadecimal.
A numeric value may also be expressed as a string literal of as many as four characters. The
string literal must begin and end with single quote marks ('). The numeric value is interpreted as
the concatenation of the ASCII values of the characters. This value is right-justified, as is any
other numeric value.
String Literal Numeric Value (in hex)
’A’ 41
’ABC’ 414243
’TEST’ 54455354
Evaluation of an expression is always from left to right unless parentheses are used to group part
of the expression. There is no operator precedence. Sub-expressions within parentheses are
evaluated first. Nested parenthetical sub-expressions are evaluated from the inside out.
Vue de la page 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 195 196

Commentaires sur ces manuels

Pas de commentaire