From 1961b4b237083f4cfac9ca6b249c1d6cb665d149 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Tue, 14 Jul 2026 17:29:02 +0200 Subject: Initial (refactor) --- test/ui/v1/jumps/links.json | 1 + test/ui/v1/jumps/ui.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 test/ui/v1/jumps/links.json create mode 100644 test/ui/v1/jumps/ui.c (limited to 'test/ui/v1/jumps') diff --git a/test/ui/v1/jumps/links.json b/test/ui/v1/jumps/links.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/test/ui/v1/jumps/links.json @@ -0,0 +1 @@ +[] diff --git a/test/ui/v1/jumps/ui.c b/test/ui/v1/jumps/ui.c new file mode 100644 index 0000000..2ef5caa --- /dev/null +++ b/test/ui/v1/jumps/ui.c @@ -0,0 +1,31 @@ +// file : test/ui/v1/jumps/ui.c +// project : Salis-VM +// author : Paul Oliver + +#include +#include +#include +#include + +#include "arch_spec.h" +#include "arch_inst.h" +#include "compress.h" +#include "salis.h" + +int main(void) { + uint8_t lok = loka; + + salis_init(); + + while (lok != lokp) { + if (mvec_get_inst(g_cores, g_cores->pvec->ip) == lok) { + lok = lok + 1; + } + + salis_step(1); + assert(g_cores->pvec->ip < ANC_SIZE); + } + + salis_save_and_free(); + return 0; +} -- cgit v1.2.1