Assembly language source code can contain numeric, string, Boolean, and single character literals.
Literals can be expressed as:
Decimal numbers, for example
Hexadecimal numbers, for example
Numbers in any base from
9, for example
5_204is a number in base
Floating point numbers, for example
Single character values enclosed by single quotes, for example
Strings enclosed in double quotes, for example
"This is a string".
In most cases, a string containing a single character is accepted as a single character value.
ADD r0,r1,#"a" is accepted, but
r0,r1,#"ab" is faulted.
You can also use variables and names to represent literals.