Force operator (unary)

Syntax
  8-bit address: 
<<operand> or 
<operand>.B

  16-bit address: 
><operand> or 
<operand>.W
    
Description

The < or .B operators force direct addressing mode, whereas the > or .W operators force extended addressing mode.

Use the < operator to force 8-bit indexed or 8-bit direct addressing mode for an instruction.

Use the > operator to force 16-bit indexed or 16-bit extended addressing mode for an instruction.

The operand can be any expression evaluating to an absolute or relocatable expression.

Example
  <label        ; label is an 8-bit address.

  label.B       ; label is an 8-bit address.

  >label        ; label is an 16-bit address.

  label.W       ; label is an 16-bit address.  

For the RS08 the < operand forces the operand to short or tiny addressing mode (depending on the instruction in which it is used). The same result can be obtained by adding .S or .T to the referred symbol. The > operator forces an address to 8 bits, even if it fits in 4 or 5 bits (so short or tiny addressing modes can be used).