# The OS/K Team licences this file to you under the MIT license. # See the LICENSE file in the project root for more information. add r r add r i add r m add m r add m i add m m %0 = %0 + %1 sub r r sub r i sub r m sub m r sub m i sub m m %0 = %0 + %1 mul r mul i rdx = hi(rax * %0) rax = lo(rax * %0) div r div i rdx = rax % %0 rax = rax / %0 inc r inc m %0 = %0 + 1 dec r dec m %0 = %0 - 1 mov r r mov r i mov r m mov m r mov m i mov m m %0 = %1