Skip to content

Modify jumpstack for optimization - #3203

Open
CoderCatGG wants to merge 1 commit into
KSP-KOS:developfrom
CoderCatGG:develop
Open

CoderCatGG wants to merge 1 commit into
KSP-KOS:developfrom
CoderCatGG:develop

Conversation

@CoderCatGG

@CoderCatGG CoderCatGG commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Discussion in #3147. This simply adds a field for maximum jump distance and a branch target in case the stack value is smaller or equal to zero or greater than the maximum jump distance.

As this isn't backwards compatible, I understand not merging it.
I will try to follow up with separate PRs on popular ksm (dis)assemblers. For the rust ones (e.g.: kerbalobjects.rs) I can do that and I will try my best for any other languages. Just message me if I need to fix anything I missed:

  • kerbalobjects.rs
  • kOS-KASM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant