소스 검색

* use xchg ax,cx instead of mov in GetPixel16

git-svn-id: trunk@40991 -
nickysn 6 년 전
부모
커밋
5abb5b0658
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/graph/src/msdos/graph.pp

+ 1 - 1
packages/graph/src/msdos/graph.pp

@@ -1702,7 +1702,7 @@ end;
     add   si, di           { SI=correct offset into video segment }
     add   si, [VideoOfs]   { Point to correct page offset... }
 
-    mov   cx, ax
+    xchg  ax, cx           { 1 byte shorter than 'mov cx, ax' }
     and   cl,7
 
     mov   bh, 080h