-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
priority:p2Medium priorityMedium priorityscope:disassemblertype:bugSomething isn't workingSomething isn't working
Milestone
Description
Under certain conditions the disassembler can replace main.scm offset with a local label.
- the offset should be positive (i.e. reference some instruction in MAIN)
- the script should have an instruction at the exact same offset.
after disassembling and comping, the offset changes from X to -X.
synthetic repro
{$CLEO}
nop
gosub 2
after recompiling it becomes gosub -2
This bug only affects standalone CLEO scripts/missions and not main.scm.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority:p2Medium priorityMedium priorityscope:disassemblertype:bugSomething isn't workingSomething isn't working