- bug-fix and optimization

git-svn-id: svn://kolibrios.org@604 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Rus 2007-08-03 00:43:10 +00:00
parent 7d78d661a3
commit db2f7da2e5

View File

@ -32,7 +32,7 @@ still: ;
mov ebx,2
mcall
cmp eax,2 ; ¥á«¨ ­¥ ¯à ¢ ï, ¢®§¢à â
cmp eax,ebx ; ¥á«¨ ­¥ ¯à ¢ ï, ¢®§¢à â
jne still
;---¯®¥å «¨!---
@ -103,11 +103,11 @@ ne_goden: ;
mov eax,37
mov ebx,2 ; äã­ªæ¨ï 37-2:
mcall ; ­ ¦ âë «¨ ª­®¯ª¨ ¬ëè¨?
cmp eax,ebx ; ¥á«¨ ®â¯ãá⨫, (eax != 2)
jnz @f ; ¨¤ñ¬ ¢ ­ ç «® £« ¢­®£® 横« 
test eax,ebx ; ¥á«¨ ®â¯ãá⨫, (eax != 2)
jz @f ; ¨¤ñ¬ ¢ ­ ç «® £« ¢­®£® 横« 
mov eax,5 ; ¨­ ç¥
mov ebx,2 ; ¯®¤®¦¤ñ¬ 2 ¬á
;mov ebx,2 ; ¯®¤®¦¤ñ¬ 2 ¬á
mcall
jmp @b ; ¨ ¯à®¢¥à¨¬ ¬ëèì ®¯ïâì