Changes between Version 38 and Version 39 of ClrxAsmPseudoOps
- Timestamp:
- 05/08/18 09:00:34 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClrxAsmPseudoOps
v38 v39 148 148 <p>Close visibility's scope.</p> 149 149 <h3>.enum</h3> 150 <p>Syntax: .enum [> STARTPOS,] SYMBOL,....</p>150 <p>Syntax: .enum [>[STARTPOS],] SYMBOL,....</p> 151 151 <p>Simplify defining the enumerations. For every symbol, 152 152 define symbol with value of enumeration counter and increase an enumeration counter. 153 Defined symbols can not be assigned later. Optional STARTPOS sets enumeration counter 154 to STARTPOS value. Every scope has own enumeration counter. This features simplify 153 Defined symbols can not be assigned later. Optional <code>></code> with optional STARTPOS sets 154 enumeration counter to STARTPOS value or zero (if no STARTPOS given). 155 Every scope has own enumeration counter. This features simplify 155 156 joining enumerations with scopes.</p> 156 157 <p>Examples:</p> … … 161 162 # enum counter is zero in this scope 162 163 .enum NONE,FULL,INVALID # NONE=0, FULL=1, INVALID=2 163 .ends</code></p> 164 .ends 165 .enum >, myzero # myzero=0</code></p> 164 166 <h3>.equ, .set</h3> 165 167 <p>Syntax: .equ SYMBOL, EXPR|REG<br />