19.04.2015 Views

INTROL-C COMPILER REFERENCE MANUAL

INTROL-C COMPILER REFERENCE MANUAL

INTROL-C COMPILER REFERENCE MANUAL

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The Assembler also recognizes a special constant that represents<br />

the<br />

assembly time location counter: "$" or "*". When "$" or "*" is used<br />

in an expression, the value taken is the location counter at the<br />

instant of assembly of the line containing the "$" or "*".<br />

Examples of Constants:<br />

01010101B<br />

17q<br />

$10<br />

17777o<br />

"AB<br />

567H<br />

%0110101<br />

0ffffh<br />

'@<br />

13<br />

7FFH<br />

$<br />

*<br />

Examples of valid expressions:<br />

(start-end)>2 start minus end shifted right by two<br />

abc*5<br />

'a!80h<br />

five times the value of abc<br />

ascii value of 'a' 0Red with 80 hex<br />

$+4 value of the location counter plus four<br />

*-3 value of the location counter minus three<br />

$FFFF

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!