Skip to content

Example leads to Immediate Stack Overflow #8

@cpiker

Description

@cpiker

The example of using blink16 in README.md:

cd blink16
./blink16 banner ELKS

Leads to an almost immediate stack overflow as soon anything is pushed to the stack. The

push cx

line triggers the issue. Which is reported as:

Stack overflow SS:SP = 101b:199c

Is this the expected behavior? I'm assuming the example program might make it a bit further, at least getting to main() before exiting, but maybe I'm incorrect.

Since the program wasn't run by the ELKS loader, it possible that something wasn't placed in memory correctly, or some register wasn't set before execution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions