MARIE-js / MARIE.js

MARIE.js is a simple, yet intuitive MARIE simulator built in JavaScript :pencil: and is used for teaching computing architecture and assembly language
https://marie.js.org
MIT License
144 stars 45 forks source link

No recovery process for out of bounds error except to refresh the page #322

Open Photon9 opened 1 year ago

Photon9 commented 1 year ago

Hey team,

I have found that should a user attempt to load an out of bounds value into the input the program will halt with no recovery.

Minimum reproducible example:

Input
Store X

Halt

X, DEC 0

The user will be prompted for input. With hexadecimal I input 10000. This brought up an input out of bounds error but offered no opportunity for recovery (whereas it is possible to get overflows or error messages with other values in an addition program).