mes/module
W. J. van der Laan 0e3da7e9d9 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-07-17 09:06:32 +02:00
..
mes core: Remove core:make-cell. 2020-05-18 00:40:50 +02:00
mescc mescc: Add r0-cmp-r1 instruction. 2023-07-17 09:06:32 +02:00
mescc.scm build: Drop support for mescc-tools 0.5.2. 2023-05-03 14:52:25 +02:00