Skip to content

bug in long programs without data references #51

@tomcl

Description

@tomcl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions