Symbols

The symbols in the table below serve one or more special purposes in Propeller Assembly code. For Spin symbols, see Symbols. Each symbol's purpose is described briefly with references to other sections that describe it directly or use it in examples.

Symbols

Symbol

Purpose(s)

%

Binary indicator: used to indicate that a value is being expressed in binary (base-2). See Value Representations.

%%

Quaternary indicator: used to indicate a value is being expressed in quaternary (base-4). See Value Representations.

$

  1. Hexadecimal indicator: used to indicate a value is being expressed in hexadecimal (base16). See Value Representations.
  2. Assembly Here indicator: used to indicate current address in assembly instructions. See JMP .

"

String designator: used to begin and end a string of text characters. See DAT.

_

  1. Delimiter: used as a group delimiter in constant values (where a comma ‛,' or period '.' may normally be used as a number group delimiter). See Value Representations.
  2. Underscore: used as part of a symbol. See Symbol Rules.

#

Assembly Literal indicator: used to indicate an expression or symbol is a literal value rather than a register address. See Where Does an Instruction Get Its Data?

:Assembly local label indicator: appears immediately before a local label. See Global and Local Labels.
,List delimiter: used to separate items in lists. See the DAT section's Declaring Data (Syntax 1).
'Code comment designator: used to enter single-line code comments (non-compiled text) for code viewing purposes. See "Using the Propeller Tool" in the software's Help file.
''Document comment designator: used to enter single-line document comments (non-compiled text) for documentation viewing purposes.
{ }In-line/multi-line code comment designators: used to enter multi-line code comments (non-compiled text) for code viewing purposes.
{{ }}In-line/multi-line document comment designators: used to enter multi-line document comments (non-compiled text) for documentation viewing purposes. See "Using the Propeller Tool" in the software's Help file.

Unless otherwise noted, content on this site is licensed under the
Creative Commons Attribution-ShareAlike 4.0 International License.