1,885
edits
Changes
→High and Low Label Bytes
* "dcb" directive: the Define Constant Byte (dcb) directive will cause the assembler to place individual byte values into memory. These byte values may be in hexadecimal prefixed with $, decimal with no prefix, or single printable non-space characters quoted with double quotes.
=== High and Low Label Bytes ===
* the low byte of the label X can be accessed as <X and the high byte can be accessed as >X. For example, this code will load the low byte of the label "start" into the A register: <code>LDA #<START</code> - note that this only works with labels, and not with macros.
=== Comments ===
* any characters on a line following an unquoted semicolon <code>;</code> are treated as a comment and ignored.