Special variables: Difference between revisions
→{{header|6502 Assembly}}: removed hardware vector table since they're constant at runtime.
Puppydrum64 (talk | contribs) m (→{{header|MIPS Assembly}}: removed $zero as it's not really a variable since its value cannot be changed.) |
Puppydrum64 (talk | contribs) (→{{header|6502 Assembly}}: removed hardware vector table since they're constant at runtime.) |
||
Line 14:
The 16-bit 65816 and the Motorola 6809 (which are very similar to the 6502) call the zero page the "direct page" because it can be relocated on those systems. They have a dedicated register which tells the CPU where the direct page actually is. Like on the 6502, it's only 256 bytes in size. This allows the programmer to improve their program's performance by moving the direct page to wherever the majority of the loading will be taking place. Your code may cause problems if you load from the "wrong" direct page, however, so be careful!
=={{header|Ada}}==
|