Special characters: Difference between revisions

m
Line 35:
Syntax varies between assemblers but most of these are standard:
* <code>,</code> macro argument separator, data block element separator
* <code>#</code> tells the assembler the number after it is a constant, not a memory address (e.g. <code>LDA #3</code>)
* <code>$</code> tells the assembler the number after it is hexadecimal (e.g. <code>LDA #$21</code>)
* <code>%</code> tells the assembler the number after it is binary (e.g. <code>LDA #%11110111</code>)
* <code><</code> represents the "low byte" of a number greater than 8 bits
* <code>></code> represents the "high byte" of a number greater than 8 bits
1,489

edits