User’s Manual MCUez HC12 Assembler
312 MASM Compatibility MOTOROLA
MASM Compatibility
Binary constants are a sequence of binary digits (0–1) followed by b
or B
Example:
512d ; decimal representation
512D ; decimal representation
200h ; hexadecimal representation
200H ; hexadecimal representation
1000o ; octal representation
1000O ; octal representation
1000q ; octal representation
1000Q ; octal representation
1000000000b ; binary representation
1000000000B ; binary representation
A.5 Operators
For compatibility with the MASM assembler, the operator notation in
Table A-1 is supported.
Table A-1. Operators
Operator Notation
Shift left !<
Shift right !>
Bitwise AND !.
Bitwise OR !+
Bitwise XOR !x, !X