Enforced immutability: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) m (→{{header|68000 Assembly}}: clarification) |
Puppydrum64 (talk | contribs) m (→{{header|6502 Assembly}}: clarification) |
||
Line 19: | Line 19: | ||
;accumulator contains #$80</lang> |
;accumulator contains #$80</lang> |
||
When the program is being assembled, the assembler dereferences the labels and replaces them in-line with the labeled constants. They cannot be altered at runtime (except with self-modifying code). |
|||
The CPU isn't aware that these labels exist, however, as the assembler automatically replaces them with the assigned value. |
|||
=={{header|68000 Assembly}}== |
=={{header|68000 Assembly}}== |