Rev 154 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 154 | Rev 205 | ||
---|---|---|---|
Line 141... | Line 141... | ||
141 | int 0x40 |
141 | int 0x40 |
142 | } |
142 | } |
Line 143... | Line -... | ||
143 | - | ||
144 | - | ||
145 | - | ||
146 | - | ||
147 | 143 | ||
148 | 144 | ||
Line 149... | Line 145... | ||
149 | 145 | ||
150 | ; optimize the code for size |
146 | ; optimize the code for size |
Line 176... | Line 172... | ||
176 | end if |
172 | end if |
177 | } |
173 | } |
Line 178... | Line 174... | ||
178 | 174 | ||
179 | macro mov arg1,arg2 |
175 | macro mov arg1,arg2 |
180 | { |
176 | { |
181 | if (arg1 in __regs) & (arg2 eqtype 0) |
177 | if (arg1 in __regs) & ((arg2 eqtype 0) | (arg2 eqtype '0')) |
182 | if (arg2) = 0 |
178 | if (arg2) = 0 |
183 | xor arg1,arg1 |
179 | xor arg1,arg1 |
184 | else if (arg2) = 1 |
180 | else if (arg2) = 1 |
185 | xor arg1,arg1 |
181 | xor arg1,arg1 |