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-30 20:32:52 +02:00
parent bf6c57066c
commit 8dc2688a07
No known key found for this signature in database
GPG Key ID: DDF8325C95299A62
2 changed files with 22 additions and 14 deletions

View File

@ -185,28 +185,22 @@ cmulnz i
# rax = rax / $0 # rax = rax / $0
div r div r
div i div i
cdivz r cdivz r
cdivz i cdivz i
cdivnz r cdivnz r
cdivnz i cdivnz i
inc r inc r
inc m inc m
cincz r cincz r
cincz m cincz m
cincnz r cincnz r
cincnz m cincnz m
dec r dec r
dec m dec m
cdecz r cdecz r
cdecz m cdecz m
cdecnz r cdecnz r
cdecnz m cdecnz m
@ -265,10 +259,8 @@ jcxnz i
loop r loop r
loop i loop i
cloopz r cloopz r
cloopz i cloopz i
cloopnz r cloopnz r
cloopnz i cloopnz i
@ -282,14 +274,12 @@ mov r m
mov m r mov m r
mov m i mov m i
mov m m mov m m
cmovz r r cmovz r r
cmovz r i cmovz r i
cmovz r m cmovz r m
cmovz m r cmovz m r
cmovz m i cmovz m i
cmovz m m cmovz m m
cmovnz r r cmovnz r r
cmovnz r i cmovnz r i
cmovnz r m cmovnz r m
@ -303,14 +293,12 @@ xchg r m
xchg m r xchg m r
xchg m i xchg m i
xchg m m xchg m m
cxchgz r r cxchgz r r
cxchgz r i cxchgz r i
cxchgz r m cxchgz r m
cxchgz m r cxchgz m r
cxchgz m i cxchgz m i
cxchgz m m cxchgz m m
cxchgnz r r cxchgnz r r
cxchgnz r i cxchgnz r i
cxchgnz r m cxchgnz r m
@ -320,10 +308,8 @@ cxchgnz m m
lea r m lea r m
lea m m lea m m
cleaz r m cleaz r m
cleaz m m cleaz m m
cleanz r m cleanz r m
cleanz m m cleanz m m
@ -334,13 +320,29 @@ cleanz m m
push i push i
push r push r
push m push m
cpushz i
cpushz r
cpushz m
cpushnz i
cpushnz r
cpushnz m
pop r pop r
pop m pop m
cpopz r
cpopz m
cpopnz r
cpopnz m
call r call r
call i call i
call m call m
ccallz r
ccallz i
ccallz m
ccallnz r
ccallnz i
ccallnz m
ret ret
cretz cretz
@ -349,6 +351,8 @@ cretnz
# push rbp # push rbp
# mov rbp, rsp # mov rbp, rsp
enter enter
centerz
centernz
# mov rbp, [rsp+8] # mov rbp, [rsp+8]
# add rsp, 8 # add rsp, 8

View File

@ -4,7 +4,11 @@
#include "instrs.h" #include "instrs.h"
#include "arch_i.h" #include "arch_i.h"
IMPL_COND(push);
IMPL_COND(pop);
IMPL_COND(call);
IMPL_COND(ret); IMPL_COND(ret);
IMPL_COND(enter);
IMPL_COND(leave); IMPL_COND(leave);
// //