Crossware

Table of Contents        Previous topic       Next topic       

ASSEMBLER DIRECTIVES->Other Assembler Directives->USING

USING                          Use Register Symbol


The USING directive allows the use of the predefined symbolic register address AR0 to AR7 instead of their absolute addresses.  The expression following the USING command evaluates to a number between 0 and 3.  This informs the cross assembler of which bank of registers AR0 to AR7 refer to when these symbols are used in an instruction operand in place of a direct address.

The directive also reserves DATA space for the registers.


Format:
    
USING<expression>