aboutsummaryrefslogtreecommitdiff
path: root/test/ui/v1/jumps/ui.c
blob: 61514f52fede8599ccab994989b5c3ef7de6fda2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
}