mes/module/mescc
W. J. van der Laan edf397038a 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-11-05 09:39:29 +01:00
..
armv4 mescc: Add r0-cmp-r1 instruction. 2023-11-05 09:39:29 +01:00
i386 mescc: Add r0-cmp-r1 instruction. 2023-11-05 09:39:29 +01:00
x86_64 mescc: Add r0-cmp-r1 instruction. 2023-11-05 09:39:29 +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-11-05 09:39:29 +01:00
info.scm mescc: Do not dump variables with extern storage. 2019-07-27 17:22:00 +02:00
M1.scm mescc: Fix hex2:immediate8 to work with mes/m2-compiled mes. 2023-11-05 09:36:26 +01:00
mescc.scm build: Drop support for mescc-tools 0.5.2. 2023-05-03 14:52:25 +02:00
preprocess.scm mescc: Remove duplicate include. 2023-08-27 10:05:33 +02:00