Category:68000 Assembly: Difference between revisions
m
→Notation Conventions: typo fix
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→Notation Conventions: typo fix) |
||
Line 30:
* 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.
* A number without a # in front represents a memory location. For example, the 3 in <code>MOVE.B 3,D0</code> represents <i>the byte stored at memory address <code>$00000003</code></i>.
* A number that doesn't have a $ or % prefix is a decimal (base 10) value.
* A number that begins with a $ is a hexadecimal value.
* A number that begins with a % is a binary value.
* The operand of <code>BTST</code>,<code>
▲* The operand of <code>BTST</code>,<code>BTST</code>,<code>BTST</code>, or <code>BTST</code> represents a bit position, starting at the rightmost binary digit as 0 and counting up from right to left. For example, <code>BCLR #3,D0</code> performs the same bitwise operation that you would get from doing <code>AND.B #%11110111,D0</code>.
===Data Registers===
|