Bug fix: did not accept loc 1 loc 4 cii
This commit is contained in:
parent
81b1d21c35
commit
3433445bbb
1 changed files with 6 additions and 7 deletions
|
@ -7,23 +7,22 @@
|
||||||
! pop cx, dest. size
|
! pop cx, dest. size
|
||||||
! pop bx, src. size
|
! pop bx, src. size
|
||||||
! ax is first word of source
|
! ax is first word of source
|
||||||
|
cmp bx,1
|
||||||
|
jne 2f
|
||||||
|
cbw
|
||||||
|
mov bx,2
|
||||||
|
2:
|
||||||
cmp bx,cx
|
cmp bx,cx
|
||||||
je 8f
|
je 8f
|
||||||
cmp bx,2
|
cmp bx,2
|
||||||
je 1f
|
je 1f
|
||||||
cmp bx,4
|
cmp bx,4
|
||||||
jne 7f
|
jne 9f
|
||||||
cmp cx,2
|
cmp cx,2
|
||||||
jne 9f
|
jne 9f
|
||||||
pop dx
|
pop dx
|
||||||
8:
|
8:
|
||||||
jmp di
|
jmp di
|
||||||
7: cmp bx,1
|
|
||||||
jne 9f
|
|
||||||
cmp cx,2
|
|
||||||
jne 9f
|
|
||||||
cbw
|
|
||||||
jmp 8b
|
|
||||||
1:
|
1:
|
||||||
cmp cx,4
|
cmp cx,4
|
||||||
jne 9f
|
jne 9f
|
||||||
|
|
Loading…
Reference in a new issue