mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
test commit
This commit is contained in:
parent
06594207f9
commit
f14c81024a
3
instrs.c
3
instrs.c
@ -37,8 +37,7 @@ void i_mul(ctx_t *ctx, acc_t *p1, acc_t *p2)
|
|||||||
_except(ctx, E_IMP, "Memory access");
|
_except(ctx, E_IMP, "Memory access");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adapted from
|
// Adapted from www.codeproject.com/Tips/618570/UInt-Multiplication-Squaring
|
||||||
// https://www.codeproject.com/Tips/618570/UInt-Multiplication-Squaring
|
|
||||||
|
|
||||||
ulong u = p1->type >= A_IMM16 ? p1->val : ctx->r[p1->val].val;
|
ulong u = p1->type >= A_IMM16 ? p1->val : ctx->r[p1->val].val;
|
||||||
ulong v = ctx->r[RAX].val;
|
ulong v = ctx->r[RAX].val;
|
||||||
|
Loading…
Reference in New Issue
Block a user