mes/module/mescc
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
..
armv4 mescc: Add r0-cmp-r1 instruction. 2023-02-12 19:42:31 +01:00
i386 mescc: Add r0-cmp-r1 instruction. 2023-02-12 19:42:31 +01:00
x86_64 mescc: Add r0-cmp-r1 instruction. 2023-02-12 19:42:31 +01:00
M1.scm mescc: Use (format (current-error-port) ...) instead of stderr. 2020-12-30 21:20:19 +01:00
as.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
bytevectors.scm mescc: x86_64 support: Refactor to abstracted assembly, add x86_64. 2018-08-15 18:26:55 +02:00
compile.scm mescc: Add r0-cmp-r1 instruction. 2023-02-12 19:42:31 +01:00
info.scm mescc: Do not dump variables with extern storage. 2019-07-27 17:22:00 +02:00
mescc.scm mescc: Fix Guile warnings. 2023-01-08 10:18:46 +01:00
preprocess.scm mescc: Use (format (current-error-port) ...) instead of stderr. 2020-12-30 21:20:19 +01:00