vs-ude / mic-1-toolbox

Web-based MIC-1 emulator and toolbox
https://vs-ude.github.io/mic-1-toolbox/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

IRETURN bug #152

Closed YasinKavuk closed 1 year ago

YasinKavuk commented 1 year ago

IRETURN always ends the program but it should just return the value from the method. Right now it returns the value like intendet but always ends the program.

Zeusmaxhallo commented 1 year ago

We need to change the condition to check if the program is finished.

At the end of the MainMethod -> Add a Flag (0xFF oder 255) so we know that the program is finished