mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
62 lines
507 B
Plaintext
62 lines
507 B
Plaintext
# The OS/K Team licences this file to you under the MIT license.
|
|
# See the LICENSE file in the project root for more information.
|
|
|
|
nop
|
|
|
|
add r r
|
|
add r i
|
|
add r m
|
|
add m r
|
|
add m i
|
|
add m m
|
|
|
|
sub r r
|
|
sub r i
|
|
sub r m
|
|
sub m r
|
|
sub m i
|
|
sub m m
|
|
|
|
# rdx = hi(rax * %0)
|
|
# rax = lo(rax * %0)
|
|
mul r
|
|
mul i
|
|
|
|
# rdx = rax % %0
|
|
# rax = rax / %0
|
|
div r
|
|
div i
|
|
|
|
inc r
|
|
inc m
|
|
|
|
dec r
|
|
dec m
|
|
|
|
mov r r
|
|
mov r i
|
|
mov r m
|
|
mov m r
|
|
mov m i
|
|
|
|
xchg r r
|
|
xchg r i
|
|
xchg r m
|
|
xchg m r
|
|
xchg m i
|
|
|
|
push i
|
|
push r
|
|
|
|
pop r
|
|
|
|
call r
|
|
call i
|
|
call m
|
|
|
|
ret
|
|
|
|
cli
|
|
sti
|
|
|