Subversion Repositories Kolibri OS

Rev

Rev 111 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 111 Rev 131
Line 141... Line 141...
141
 int   0x40
141
 int   0x40
142
}
142
}
Line 143... Line -...
143
 
-
 
144
 
-
 
145
 
-
 
146
 
143
 
147
 
144
 
Line 148... Line 145...
148
 
145
 
149
; optimize the code for size
146
; optimize the code for size
Line 175... Line 172...
175
   end if
172
   end if
176
 }
173
 }
Line 177... Line 174...
177
 
174
 
178
macro mov arg1,arg2
175
macro mov arg1,arg2
179
 {
176
 {
180
   if (arg1 in __regs) & (arg2 eqtype 0)
177
   if (arg1 in __regs) & ((arg2 eqtype 0) | (arg2 eqtype '0'))
181
      if (arg2) = 0
178
      if (arg2) = 0
182
         xor arg1,arg1
179
         xor arg1,arg1
183
      else if (arg2) = 1
180
      else if (arg2) = 1
184
         xor arg1,arg1
181
         xor arg1,arg1