6 Commits

Author SHA1 Message Date
Olaf Seibert
29cd179ff6 Remove outdated comment in test. 2021-11-30 21:56:45 +01:00
Olaf Seibert
3a9d809b75 Optimize the previous version.
Fold the functionality of pull_up_reg() into evaluate_rec().
pull_up_reg() essentially returned a flag (EX_REG at the top, or not)
which can be represented with the outgoing flags word.
The check for recursion depth is made unneeded by doing the
"exceptional" case outside the recursion; luckily it is actually the
common case.
2021-11-15 21:35:37 +01:00
Olaf Seibert
c29dc7d7af Work in progress...
Make expressions work where the % operator isn't (only) at the top
level.
2021-11-15 19:28:19 +01:00
Olaf Seibert
21e9410571 Add evaluation of %+unary expressions.
This is a first step towards expressions like <%1>+1 and even later R1+1.
2021-11-15 18:31:15 +01:00
Olaf Seibert
3342090916 More silly %-register tests. 2021-11-14 17:09:29 +01:00
Olaf Seibert
cb331d2a55 Add some register label tests that don't work yet. 2021-04-21 18:44:53 +02:00