Closed
Description
I was getting #24 with v0.6.1, but not anymore. Unfortunately I got a similar problem when I tried to update to v0.7.0.
Here's with v0.6.1:
error: invalid immediate, couldn't parse number (was: 30_2)
--> .\add.asm:1:6
|
...
5 | .ORIG x30_2
| ^^^^^ invalid immediate here
|
and with v0.7.0, removing the DisplayListFormatter
and adding default FormatOptions
to the snippet:
error: invalid immediate, couldn't parse number (was: 30_2)
--> .\add.asm:1:11
|
...
5 | .ORIG x30_2
| ___________^
6 | | AND R1, R1, R1
| |____^ invalid immediate here
|
add.asm
has 4 lines before that error, each ending in CRLF. It seems like the offset is in the other direction now.
Originally posted by @gipsond in #24 (comment)