1
0
mirror of https://gitlab.os-k.eu/os-k-team/kvisc.git synced 2023-08-25 14:05:46 +02:00
This commit is contained in:
julianb0 2019-05-16 20:11:17 +02:00
parent 0a29f911a2
commit bb7730d3ce
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
3 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# The OS/K Team licenses this file to you under the MIT license.
# See the LICENSE file in the project root for more information.
all: k-as.py
k-as: k-as.py

View File

@ -133,8 +133,7 @@ jb i
jbe r
jbe i
# Jump if RCX is 0
#jcxz
jcxz
#
# Movement instructions

View File

@ -65,3 +65,10 @@ IMPL_START_1(jbe)
ctx->r[RIP].val = v1;
}
IMPL_END;
IMPL_START_1(jcxz)
{
if (!ctx->r[RCX].val)
ctx->r[RIP].val = v1;
}
IMPL_END;