Category:68000 Assembly: Difference between revisions
m
→Notation Conventions
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 26:
How you write the source code depends on your assembler and the syntax it uses. This page is written using Motorola syntax but there is also Milo syntax which has different conventions.
How you go about defining numbers or text in your code varies wildly between assemblers. I'm using VASM and these are the rules I have to follow, but your assembler may be different.
* A number with a # in front represents a constant, literal value. For example, the 3 in <code>MOVE.B #3,D0</code> represents the number 3.
|