Enforced immutability: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) m (→{{header|6502 Assembly}}: formatting) |
Puppydrum64 (talk | contribs) (→{{header|68000 Assembly}}: formatting) |
||
Line 17: | Line 17: | ||
=={{header|68000 Assembly}}== |
=={{header|68000 Assembly}}== |
||
Most assemblers allow you to define labels which can refer to constant values for clarity. |
Most assemblers allow you to define labels which can refer to constant values for clarity. |
||
<lang 68000devpac> |
<lang 68000devpac>bit7 equ %10000000 |
||
bit7 equ %10000000 |
|||
bit6 equ %01000000 |
bit6 equ %01000000 |
||
Line 26: | Line 25: | ||
The CPU isn't aware that these labels exist, however, as the assembler automatically replaces them with the assigned value. |
The CPU isn't aware that these labels exist, however, as the assembler automatically replaces them with the assigned value. |
||
=={{header|11l}}== |
=={{header|11l}}== |
||