Removed unnecessary jcxz's.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@629 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
d60b01e511
commit
27ee8b1c74
@ -118,7 +118,6 @@ MEMCPY:
|
|||||||
domemcpy:
|
domemcpy:
|
||||||
; And do the built-in byte copy, but do a 16-bit transfer
|
; And do the built-in byte copy, but do a 16-bit transfer
|
||||||
; whenever possible.
|
; whenever possible.
|
||||||
jcxz memcpy_return
|
|
||||||
shr cx,1
|
shr cx,1
|
||||||
rep movsw
|
rep movsw
|
||||||
jnc memcpy_return
|
jnc memcpy_return
|
||||||
@ -183,7 +182,6 @@ FMEMSET:
|
|||||||
domemset:
|
domemset:
|
||||||
mov ah, al
|
mov ah, al
|
||||||
|
|
||||||
jcxz pascal_return
|
|
||||||
shr cx,1
|
shr cx,1
|
||||||
rep stosw
|
rep stosw
|
||||||
jnc pascal_return
|
jnc pascal_return
|
||||||
|
Loading…
Reference in New Issue
Block a user