aboutsummaryrefslogtreecommitdiff
path: root/test/ui/v1/jumps/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ui/v1/jumps/ui.c')
-rw-r--r--test/ui/v1/jumps/ui.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/ui/v1/jumps/ui.c b/test/ui/v1/jumps/ui.c
new file mode 100644
index 0000000..61514f5
--- /dev/null
+++ b/test/ui/v1/jumps/ui.c
@@ -0,0 +1,21 @@
+#if !defined(COMMAND_NEW)
+#error
+#endif
+
+int main(void) {
+ salis_init();
+
+ uint8_t lok = loka;
+
+ 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_free();
+ return 0;
+}