1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 11:38:07 +11:00

8086asm: fix CMPrr, and CMPxx, argument order

This commit is contained in:
Virgil Dupras 2020-06-21 14:49:54 -04:00
parent cd514e6cd6
commit f9eb7c661b
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,6 @@
0x31 OPrr XORxx, 0x30 OPrr XORrr,
0x88 OPrr MOVrr, 0x89 OPrr MOVxx, 0x28 OPrr SUBrr,
0x29 OPrr SUBxx, 0x08 OPrr ORrr, 0x09 OPrr ORxx,
0x3a OPrr CMPrr, 0x3b OPrr CMPxx, 0x00 OPrr ADDrr,
0x38 OPrr CMPrr, 0x39 OPrr CMPxx, 0x00 OPrr ADDrr,
0x01 OPrr ADDxx, 0x20 OPrr ANDrr, 0x21 OPrr ANDxx,

View File

@ -10,7 +10,7 @@ CODE S= 2 chkPS,
CODE CMP 2 chkPS,
BX POPx, AX POPx, CX CX XORxx, AX BX CMPxx,
IFNZ, ( < or > )
CX INCx, IFNC, ( < ) CX DECx, CX DECx, THEN,
CX INCx, IFC, ( < ) CX DECx, CX DECx, THEN,
THEN,
CX PUSHx,
;CODE