Motorola MVME2600 Series User Manual Page 319

  • Download
  • Add to my manuals
  • Print
  • Page
    / 518
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 318
One-Line Assembler/ Disassembler
4-9
4
The order of evaluation is strictly left to right with no precedence
granted to some operators over others. The only exception to this is
when you force the order of precedence through the use of
parenthesis.
The order of parsing algebraic expressions is:
OPERAND OPERATOR OPERAND OPERATOR...
with a possible left or right parenthesis.
The parsing order allows the assembler to properly interpret
characters. For example, the Ò*Ó which represents both multiply
and instruction pointer, is interpreted as:
WORD Define Constant Directive
The format for the WORD directive is:
WORD 32-bit-operand
The function of this directive is to define a constant in memory. The
WORD directive can have only one operand (32-bit value) which
can contain the actual value (decimal, hexadecimal, or ASCII).
Alternatively, the operand can be an expression which can be
assigned a numeric value by the assembler. An ASCII string is
recognized when characters are enclosed inside single quotes (' ').
Each character (seven bits) is assigned to a byte of memory, with the
eighth bit (MSB) always equal to zero. If only one byte is entered,
the byte is right justified. Any number of ASCII characters may be
entered for each WORD directive, and the characters are right
justified, but truncation occurs after four characters.
*** IP * IP
*+* IP + IP
2** 2 * IP
*&&16 IP AND &16
Page view 318
1 2 ... 314 315 316 317 318 319 320 321 322 323 324 ... 517 518

Comments to this Manuals

No comments