2019-05-15 21:47:08 +02:00
|
|
|
# The OS/K Team licences this file to you under the MIT license.
|
2019-05-15 21:56:42 +02:00
|
|
|
# See the LICENSE file in the project root for more information.
|
2019-05-15 21:47:08 +02:00
|
|
|
|
2019-05-16 10:03:01 +02:00
|
|
|
nop
|
|
|
|
|
2019-05-15 21:47:08 +02:00
|
|
|
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
|
|
|
|
|
2019-05-15 22:01:58 +02:00
|
|
|
# rdx = hi(rax * %0)
|
|
|
|
# rax = lo(rax * %0)
|
2019-05-15 21:47:08 +02:00
|
|
|
mul r
|
|
|
|
mul i
|
|
|
|
|
2019-05-15 22:01:58 +02:00
|
|
|
# rdx = rax % %0
|
|
|
|
# rax = rax / %0
|
2019-05-15 21:47:08 +02:00
|
|
|
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
|
|
|
|
mov m m
|
|
|
|
|