1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-06 11:18:04 +11:00
collapseos/blk/825

14 lines
384 B
Plaintext
Raw Normal View History

2020-06-22 00:40:09 +10:00
CODE + AX POPx, BX POPx, AX BX ADDxx, AX PUSHx, ;CODE
CODE - BX POPx, AX POPx, AX BX SUBxx, AX PUSHx, ;CODE
CODE *
AX POPx, BX POPx,
DX PUSHx, ( protect from MUL ) BX MULx, DX POPx,
AX PUSHx,
2020-06-19 21:26:33 +10:00
;CODE
2020-06-22 00:40:09 +10:00
CODE /MOD
BX POPx, AX POPx, DX PUSHx, ( protect )
DX DX XORxx, BX DIVx,
BX DX MOVxx, DX POPx, ( unprotect )
BX PUSHx, ( modulo ) AX PUSHx, ( division )
2020-06-19 21:26:33 +10:00
;CODE