EMS6500 EM Microelectronic, EMS6500 Datasheet - Page 56

no-image

EMS6500

Manufacturer Part Number
EMS6500
Description
Microcontroller Development System 4-bit (Emmon), Simulators 4-bit
Manufacturer
EM Microelectronic
Datasheet
Copyright  2003, EM Microelectronic-Marin SA
4.7.
Expressions are a combination of numeric constants, labels/symbols, and
expression operators, which are evaluated by the assembler into a single value.
Expression operators supported are listed below.
All expressions are evaluated using 32-bit calculations.
+
-
*
\
/
^
MOD
AND
OR
XOR
SHR
SHL
Compound operators using the value to the right include:
NOT n
HIGH n
LOW n
OFFSET n Returns the 'lower word (low 16-bit) of n'
UPPER n Returns the 'upper word (high 16-bit) of n'
SWAP n
Comparisons operate on signed values. True returns 0FFFFFFFFH,
False returns 0.
= or EQ
<> or NE
<= or LE
< or LT
>= or GE
< or GT
Expression Syntax
Addition.
Subtraction
Multiplication.
Division (only Integer part).
Division (rounded integer result)
Potentiation
Remainder of division.
Logical AND operator.
Logical OR operator.
Logical XOR operator.
Logical SHIFT RIGHT (shifting 0's in).
Logical SHIFT LEFT (shifting 0's in).
Returns the 'inverted bit-state of n'.
Returns the 'upper byte (high 8-bit) of n'
Returns the 'lower byte (low 8-bit) of n'
Exchanges the upper/lower bytes (low 16-bit)
True if equal.
True if not equal.
True if less than or equal (lower or equal).
True if less than (lower than).
True if greater than or equal (higher or equal)
True if greater than (higher than).
48
Development System
www.emmicroelectronic.com
EM66xx
Binder 4.3-01/03 Rev. B/495

Related parts for EMS6500