Jump to content

Literals/Integer: Difference between revisions

m
Line 46:
 
=={{header|68000 Assembly}}==
Conventions vary between assemblers, but typically a $ represents hexadecimal and a % represents binary. The absence of either of those symbols means decimal. Single or double quotes represent an ASCII value. Keep in mind that without a # in front, any quantity is interpreted as a dereference operation at the memory location equal to the supplied number, rather than a constant value.
<lang 68000devpac>;These are all equivalent:
MOVE.B #$41,D0
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.