Commit d97cb13
committed
fix JUMPS for all "single instruction" conditions
JUMPS can only do LT, LE and GE comparisons. GT and EQ can be emulated
by the assembler generating 2 instructions using supported conditions
to achieve the desired effect.
For now only the "natively-supported" comparisons are supported.
Support for the dual-instruction jumps will be added in an upcoming
commit.
In other words this change temporarily removes support for the GT and
EQ conditions, given they resulted in incorrect instructions anyway.
Implementing them correctly requires the upcoming dual-instruction
approach.1 parent a96a7ee commit d97cb13
2 files changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
661 | 661 | | |
662 | 662 | | |
663 | 663 | | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
0 commit comments