Skip to content

lcc: add 0x81-0xbf to zero page segment #68

@kervinck

Description

@kervinck

Globals, and static variables in functions, are (much) faster when they can be placed in the zero page rather than main memory. We can give this zero page real estate to as many as such variables as possible. The call stack doesn't need much space after all.

Perhaps let the programmer hint which variables are candidate for such preferential treatment. ("static register" comes to mind, but that's not a fully developed idea, because we can have pointers to such variables.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions