mes/module
W. J. van der Laan 4502a86ab0 mescc: Add r0-cmp-r1 instruction.
This instruction is used to compare two registers and set the flags
accordingly. In current architectures this is the same as r0-r1, but for
RISCV it will be different.  RISC-V does not have condition flags so
(until a better solution) we are going to emulate them there.

* module/mescc/armv4/as.scm (armv4:instructions): Add r0-cmp-r1 as alias
of r0-r1.
* module/mescc/i386/as.scm: Same.
* module/mescc/x86_64/as.scm: Same.
* module/mescc/compile.scm (expr->register): Make use of the new
r0-cmp-r1 instruction.
2023-02-12 19:42:31 +01:00
..
mes core: Remove core:make-cell. 2020-05-18 00:40:50 +02:00
mescc mescc: Add r0-cmp-r1 instruction. 2023-02-12 19:42:31 +01:00
mescc.scm doc: Fix typos. 2022-09-22 11:14:34 +02:00