Sfoglia il codice sorgente

pcat: make /MOD division 16-bit

Was required for the many "256 /MOD" in the code.
pull/126/head
Virgil Dupras 4 anni fa
parent
commit
ae719508d9
1 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +4
    -4
      blk/823

+ 4
- 4
blk/823 Vedi File

@@ -6,8 +6,8 @@ CODE *
AX PUSHx,
;CODE
CODE /MOD
BX POPx, AX POPx,
BL DIVr, ( TODO: use DIVx, risk of 8086 error )
BH BH XORrr, BL AH MOVrr, BX PUSHx, ( modulo )
BL AL MOVrr, BX PUSHx, ( division )
BX POPx, AX POPx, DX PUSHx, ( protect )
DX DX XORxx, BX DIVx,
BX DX MOVxx, DX POPx, ( unprotect )
BX PUSHx, ( modulo ) AX PUSHx, ( division )
;CODE

Loading…
Annulla
Salva