Array: Difference between revisions

Content added Content deleted
(→‎Encoding an Array's End: Added additional clarification)
Line 41: Line 41:
* [[letter frequency]]
* [[letter frequency]]
===[[Assembly]]===
===[[Assembly]]===
An array is simply a sequence of values stored in memory. Its beginning is typically defined with some sort of label that points to the address where that array is stored. Arrays are mutable unless they are stored in ROM, such as on a video game cartridge.
An array is simply a sequence of values stored in consecutive memory locations. Its beginning is typically defined with some sort of label that points to the address where that array is stored. Arrays are mutable unless they are stored in ROM, such as on a video game cartridge.


<lang 6502asm>;6502 Assembly example
<lang 6502asm>;6502 Assembly example