mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
lea
This commit is contained in:
parent
c461b68247
commit
710d2ca3f9
@ -28,10 +28,6 @@ IMPL_OUT;
|
|||||||
|
|
||||||
IMPL_START_1(lea)
|
IMPL_START_1(lea)
|
||||||
{
|
{
|
||||||
if (!p2->mem) {
|
|
||||||
_except(ctx, E_ILL, "Bad LEA format");
|
|
||||||
}
|
|
||||||
|
|
||||||
v1 = (p2->type == A_REG ? ctx->r[p2->val].val : p2->val) + p2->off;
|
v1 = (p2->type == A_REG ? ctx->r[p2->val].val : p2->val) + p2->off;
|
||||||
}
|
}
|
||||||
IMPL_OUT;
|
IMPL_OUT;
|
||||||
|
Loading…
Reference in New Issue
Block a user