As the title says. I created the following ISA entry to try and get a zero-width output:
%var = 0
%var[0:1]```
And that worked mostly (ISA compiler accepted it, circuit runs with it), but the ASM editor complains so I decided to see if I could accomplish the task with an overflow, replacing that [0:1] with [65535:0] and got the crash.
Crash data from command line:
```LOADING: campaign/maze
fatal.nim(53) sysFatal
Error: unhandled exception: assemble.nim(572, 9) `
0 <= top` (Late detection!): Expected slice syntax after unsized field reference in bit pattern [AssertionDefect]
terminate called without an active exception
SIGABRT: Abnormal termination.```
(That's an attempted reload - the console no longer stays open after exit which is really nice most of the time, but not so great for capturing error logs!)
Editing the file manually and removing the bad instruction allows the game to reload again.