Changes between Version 37 and Version 38 of ClrxAsmPseudoOps


Ignore:
Timestamp:
May 7, 2018, 5:00:34 PM (7 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClrxAsmPseudoOps

    v37 v38  
    145145<h3>.endr, .endrept</h3>
    146146<p>Finish code of repetition.</p>
    147 <h4>.ends, .endscope</h4>
     147<h3>.ends, .endscope</h3>
    148148<p>Close visibility's scope.</p>
     149<h3>.enum</h3>
     150<p>Syntax: .enum [&gt;STARTPOS,] SYMBOL,....</p>
     151<p>Simplify defining the enumerations. For every symbol,
     152define symbol with value of enumeration counter and increase an enumeration counter.
     153Defined symbols can not be assigned later. Optional STARTPOS sets enumeration counter
     154to STARTPOS value. Every scope has own enumeration counter. This features simplify
     155joining enumerations with scopes.</p>
     156<p>Examples:</p>
     157<p><code>.enum OK,BADFD,FATAL        # define OK=0, BADFD=1, FATAL=2
     158.enum &gt;8, BitOne,BitTwo     # define BitOne=8, BitTwo=9
     159.enum HALO                  # define HALO=10
     160.scope Result
     161    # enum counter is zero in this scope
     162    .enum NONE,FULL,INVALID   # NONE=0, FULL=1, INVALID=2
     163.ends</code></p>
    149164<h3>.equ, .set</h3>
    150165<p>Syntax: .equ SYMBOL, EXPR|REG<br />