The symbols in Table 3 6 the table below serve one or more special purposes in Propeller Assembly code. For Spin symbols, see Symbols on page . 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. |
$ |
|
" | String designator: used to begin and end a string of text characters. See DAT. |
_ |
|
# | 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. |