When you try to use a string as a typed argument the assembler outputs the error "error: wrong argument for type `i8`".
For example when you try to assemble the following:
#ruledef {
load {value: i8} => 0xaa @ value
}
load "a"
The assembler outputs:
error: failed to resolve instruction
--> test.asm:5:1:
3 | }
4 |
5 | load "a"
| ^^^^^^^^
6 |
=== error: wrong argument for type `i8`
--> test.asm:5:6:
3 | }
4 |
5 | load "a"
| ^^^
6 |
This is probably related to #113 since it seems to have been introduced in the commit 4e1426c811c4609fda00dc1845f4bb50f9df1368 too.
When you try to use a string as a typed argument the assembler outputs the error "error: wrong argument for type `i8`". For example when you try to assemble the following:
The assembler outputs:
This is probably related to #113 since it seems to have been introduced in the commit 4e1426c811c4609fda00dc1845f4bb50f9df1368 too.