donno/dlx

Parse expressions

Opened this issue · 0 comments

In the case of immediate, expressions that can be evaluated at assemble/link time can be used:

For example
movi r1, 1 << 4

Which would be equivalent to:
movi r1, 16

Additionally it may include symbols:
fourbit .equ 4
movi 1 << fourbit.