Visual2 icon indicating copy to clipboard operation
Visual2 copied to clipboard

bug in long programs without data references

Open tomcl opened this issue 6 years ago • 1 comments

A program of 128 or more instructions e.g. MOV R0, #0 that has no defined data (DCD, DCB etc) will give parse failure from line 425 of ExecutionTop.fs.

To reproduce

NB this bug is present on Visual2 master branch and (identically) hlp2019-test.

  • Start Visual2
  • load or enter a file consisting of 128 (or more) MOV R0, #0
  • Click Run

expected result

Program runs taking 128 steps and ends up Finished

Actual Result

Nothing happens in GUI. If you open dev tools the failwithf message is shown in the window

tomcl avatar Mar 02 '19 09:03 tomcl

Mended v1.06.9 commit aa7a93a

tomcl avatar Mar 02 '19 09:03 tomcl