encyclopegia.org

Zero page

The zero page or base page is the block of memory at the very beginning of a computer's address space; that is, the page whose starting address is zero. The size of a page depends on the context, and the significance of zero page memory versus higher addressed memory is highly dependent on machine architecture. For example, the Motorola 6800 and MOS Technology 6502 processor families treat the first 256 bytes of memory specially, whereas many other processors do not. Unlike more modern hardware, in the 1970s computer RAM speed was similar to that of CPUs. Thus it made sense to have few registers and use the main memory as an extended pool of extra registers. In machines with a relatively wide 16-bit address bus and comparatively narrow 8-bit data bus, calculating an address in memory could take several cycles. The zero page's one-byte address was smaller and therefore faster to read and calculate than other locations, making the zero page useful for high-performance code. Zero page addressing now has mostly historical significance, since the developments in integrated circuit technology have made adding more registers to a CPU less expensive and CPU operations much faster than RAM accesses.

The zero page or base page is the block of memory at the very beginning of a computer's address space; that is, the page whose starting address is zero. The size of a page depends on the context, and the significance of zero page memory versus higher addressed memory is highly dependent on machine architecture. For example, the Motorola 6800 and MOS Technology 6502 processor families treat the first 256 bytes of memory specially, whereas many other processors do not. Unlike more modern hardware, in the 1970s computer RAM speed was similar to that of CPUs. Thus it made sense to have few registers and use the main memory as an extended pool of extra registers. In machines with a relatively wide 16-bit address bus and comparatively narrow 8-bit data bus, calculating an address in memory could take several cycles. The zero page's one-byte address was smaller and therefore faster to read and calculate than other locations, making the zero page useful for high-performance code. Zero page addressing now has mostly historical significance, since the developments in integrated circuit technology have made adding more registers to a CPU less expensive and CPU operations much faster than RAM accesses. LDA $12 ; zero page addressing LDA $0012 ; absolute addressing In 6502 assembly language, the above two instructions both accomplish the same thing: they load the value of memory location $12 into the .A (accumulator) register ( $ is Motorola/MOS Technology assembly language notation for a hexadecimal number). However, the first instruction is only two bytes long and requires three clock cycles to complete. The second instruction is three bytes in length and requires four clock cycles to execute. This difference in execution time could become significant in repetitive code. Some processors, such as the Motorola 6809 and the aforementioned WDC 65C816, implement a “direct page register” ( DP ) that tells the processor the starting address in RAM of what is considered to be zero page. In this context, zero page addressing is notional; the actual access would not be to the physical zero page if DP is loaded with some address other than $00 (or $0000 in the case of the 65C816).

References

  1. 4.1 Crossing Page Boundaries · retrieved 2020-03-01 · rev 1323008045
    Cite this reference

    MLA "4.1 Crossing Page Boundaries." "4. 2020-03-01. http://bitsavers.trailing-edge.com/components/intel/MCS4/MCS-4_Assembly_Language_Programming_Manual_Dec73.pdf. Accessed 24 November 2026.

    Chicago "4.1 Crossing Page Boundaries." "4. 2020-03-01. http://bitsavers.trailing-edge.com/components/intel/MCS4/MCS-4_Assembly_Language_Programming_Manual_Dec73.pdf.

    APA "4. (2020). 4.1 Crossing Page Boundaries. Retrieved November 24, 2026, from http://bitsavers.trailing-edge.com/components/intel/MCS4/MCS-4_Assembly_Language_Programming_Manual_Dec73.pdf

  2. Sjödin, Tomas; Jonsson, Johan (2006). Student Papers in Computer Architecture (PDF) . Umeå, Sweden. p. 29. S2CID 14355431 . Archived from the original (PDF) on 2019-03-09 . Retrieved 2019-08-21 . {{ cite book }} : CS1 maint: location missing publisher ( link ) Wikipedia revision 1323008045, retrieved 2026-11-20 · retrieved 2019-08-20 · rev 1323008045
    Cite this reference

    MLA "Sjödin, Tomas; Jonsson, Johan (2006). Student Papers in Computer Architecture (PDF) . Umeå, Sweden. p. 29. S2CID 14355431 . Archived from the original (PDF) on 2019-03-09 . Retrieved 2019-08-21 . {{ cite book }} : CS1 maint: location missing publisher ( link ) Wikipedia revision 1323008045, retrieved 2026-11-20." Sjödin, Tomas; Jonsson, Johan (2006). 2019-08-20. https://web.archive.org/web/20190309043117/http://pdfs.semanticscholar.org/fe94/c1e8319ee97d7649524e141a87ac2f5c8342.pdf. Accessed 24 November 2026.

    Chicago "Sjödin, Tomas; Jonsson, Johan (2006). Student Papers in Computer Architecture (PDF) . Umeå, Sweden. p. 29. S2CID 14355431 . Archived from the original (PDF) on 2019-03-09 . Retrieved 2019-08-21 . {{ cite book }} : CS1 maint: location missing publisher ( link ) Wikipedia revision 1323008045, retrieved 2026-11-20." Sjödin, Tomas; Jonsson, Johan (2006). 2019-08-20. https://web.archive.org/web/20190309043117/http://pdfs.semanticscholar.org/fe94/c1e8319ee97d7649524e141a87ac2f5c8342.pdf.

    APA Sjödin, Tomas; Jonsson, Johan (2006). (2019). Sjödin, Tomas; Jonsson, Johan (2006). Student Papers in Computer Architecture (PDF) . Umeå, Sweden. p. 29. S2CID 14355431 . Archived from the original (PDF) on 2019-03-09 . Retrieved 2019-08-21 . {{ cite book }} : CS1 maint: location missing publisher ( link ) Wikipedia revision 1323008045, retrieved 2026-11-20. Retrieved November 24, 2026, from https://web.archive.org/web/20190309043117/http://pdfs.semanticscholar.org/fe94/c1e8319ee97d7649524e141a87ac2f5c8342.pdf

  3. ARM 'security hole' is ofla cousin · retrieved 2008-10-21 · rev 1323008045
    Cite this reference

    MLA "ARM 'security hole' is ofla cousin." 2008-10-21. https://web.archive.org/web/20110514141954/http://www.drobe.co.uk/article.php?id=1941. Accessed 24 November 2026.

    Chicago "ARM 'security hole' is ofla cousin." 2008-10-21. https://web.archive.org/web/20110514141954/http://www.drobe.co.uk/article.php?id=1941.

    APA encyclopegia.org. (2008). ARM 'security hole' is ofla cousin. Retrieved November 24, 2026, from https://web.archive.org/web/20110514141954/http://www.drobe.co.uk/article.php?id=1941

  4. Managing Virtual Memory · retrieved 2014-12-04 · rev 1323008045
    Cite this reference

    MLA "Managing Virtual Memory." 2014-12-04. http://msdn.microsoft.com/en-us/library/ms810627.aspx. Accessed 24 November 2026.

    Chicago "Managing Virtual Memory." 2014-12-04. http://msdn.microsoft.com/en-us/library/ms810627.aspx.

    APA encyclopegia.org. (2014). Managing Virtual Memory. Retrieved November 24, 2026, from http://msdn.microsoft.com/en-us/library/ms810627.aspx

  5. Zero page · retrieved 2026-11-23 · rev 1323008045
    Cite this reference

    MLA "Zero page." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1323008045. Accessed 24 November 2026.

    Chicago "Zero page." 2026-11-23. https://en.wikipedia.org/w/index.php?oldid=1323008045.

    APA encyclopegia.org. (2026). Zero page. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1323008045

Cite this article

MLA

"Zero page." encyclopegia.org, 2025, https://encyclopegia.org/wiki/zero-page. Accessed 24 November 2026.

Chicago

"Zero page." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/zero-page.

APA

encyclopegia.org. (2025). Zero page. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/zero-page

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

direct–quadrature–zero transformation

stub · references available

Bettie Page

stub · references available

Coverdale and Page

stub · references available

The Front Page

stub · references available

Melinda Page Hamilton

stub · references available

Zero 7

stub · references available

Zero Effect

stub · references available

Zero Halliburton

stub · references available
CC BY-SA 4.0 · tier1-factual · https://en.wikipedia.org/w/index.php?oldid=1323008045 · 0.55 · snapshot zero-page-022889-650b457a71cd007a · QID Q191975

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.