Ryex / ic10emu

A Stationeers IC10 code editor and emulator
https://ic10emu.dev/
Apache License 2.0
7 stars 2 forks source link

Introduce a way to set IP #37

Open Emilgardis opened 4 months ago

Emilgardis commented 4 months ago

Being able to set IP would be helpful

Ryex commented 4 months ago

How do you mean?

Emilgardis commented 4 months ago

Sorry, it's called Instruction Pointer (IP) in stationeers :D

The ability to change the IP would be useful when debugging, where right now you have to either insert a jump or reset, but resetting clears registers and stack

Ryex commented 4 months ago

Technically you can change the line number field of the housing. That will set the ip. But yes. I'll try to add that. Perhaps some sort of modifyer click on a line in the editor? Like alt click?

Emilgardis commented 4 months ago

Making this field editable would make the most sense to me, alt click can probably be reserved for later

image