8000 [info] What does CC65 do with the hardware stack? · Issue #1037 · cc65/cc65 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[info] What does CC65 do with the hardware stack?  #1037
Closed
@Fabrizio-Caruso

Description

@Fabrizio-Caruso

Is the hardware stack (page 1) underused by CC65?
If I understand well, parameters passing is done through registers + software stack.
Why is the software stack used in this case? I know the hardware stack is tiny but it would be cool to have an option to use it in programs that pass just a couple of parameters beyond the 2 bytes that are usually handled by registers.
It seems to me that the hardware stack is not used a lot.
I even use the lower part of it to stack data in my programs.
Wouldn't the hardware stack bring more speed compared to the software one if used for parameter passing?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0