mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
test commit 2
This commit is contained in:
parent
f14c81024a
commit
85150a69c2
2
instrs.c
2
instrs.c
@ -28,7 +28,7 @@ void i_sub(ctx_t *ctx, acc_t *p1, acc_t *p2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ctx->r[p1->val].val -= p2->type >= A_IMM16 ? p2->val
|
ctx->r[p1->val].val -= p2->type >= A_IMM16 ? p2->val
|
||||||
: ctx->r[p2->val].val;
|
: ctx->r[p2->val].val;
|
||||||
}
|
}
|
||||||
|
|
||||||
void i_mul(ctx_t *ctx, acc_t *p1, acc_t *p2)
|
void i_mul(ctx_t *ctx, acc_t *p1, acc_t *p2)
|
||||||
|
Loading…
Reference in New Issue
Block a user