Return to previous page Return to menu Go to next page

Expression attributes

Symbols in the
expression must belong to one of the following:

An expression containing such a symbol must obey the following rules:

  • For operations other than addition and subtraction, all symbols used in it must be absolute.

  • Addition
    • One of the elements must be absolute.
    ・ Relative + Absolute becomes relative.
    • In an expression containing an external reference symbol, all of its elements must be absolute.

  • For subtraction
    • Relative-Absolute becomes relative.
    ・ Subtraction between relatives in the same segment is absolute.
    • All other elements in expressions containing external reference symbols must be absolute.

    It is processed according to the above rules at each intermediate stage of evaluating the expression. The

     
            CSEG
      ABC EQU *
      DEF EQU *
      GHI EQU *
      DW    ABC+DEF-GHI……………ERR
      DW    ABC+(DEF-GHI)…………OK


  • Return to previous page Return to menu Go to next page