#define f16(p) program[pc]*265+program[pc+1]
+uint8_t stack[STACKSIZE] = {0};
+
void run_task(struct task *t)
{
uint8_t *program = t->bc;
int plen = t->tasklength;
int pc = 0;
int sp = 0;
- char stack[STACKSIZE] = {0};
debug("Running task with length: %d", plen);
while(pc < plen){
switch(program[pc++]){