Jump to content

Enforced immutability: Difference between revisions

m
No edit summary
Line 6:
=={{header|6502 Assembly}}==
Most assemblers allow you to define labels which can refer to constant values for clarity.
<lang 6502asm>bit7 equ %10000000
bit7 equ %10000000
bit6 equ %01000000
 
Line 15 ⟶ 14:
 
The CPU isn't aware that these labels exist, however, as the assembler automatically replaces them with the assigned value.
 
=={{header|68000 Assembly}}==
Most assemblers allow you to define labels which can refer to constant values for clarity.
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.