Rev 5384 | Rev 5942 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5384 | Rev 5941 | ||
---|---|---|---|
Line 396... | Line 396... | ||
396 | } |
396 | } |
Line 397... | Line 397... | ||
397 | 397 | ||
398 | ; optimize the code for size |
398 | ; optimize the code for size |
Line -... | Line 399... | ||
- | 399 | __regs fix |
|
- | 400 | ||
- | 401 | macro cmp arg1,arg2 |
|
- | 402 | { |
|
- | 403 | if (arg1 in __regs) & (arg2 eqtype 0) |
|
- | 404 | if (arg2) = 0 |
|
- | 405 | test arg1,arg1 |
|
- | 406 | else |
|
- | 407 | cmp arg1,arg2 |
|
- | 408 | end if |
|
- | 409 | else |
|
- | 410 | cmp arg1,arg2 |
|
- | 411 | end if |
|
399 | __regs fix |
412 | } |
400 | 413 | ||
401 | macro add arg1,arg2 |
414 | macro add arg1,arg2 |
402 | { |
415 | { |
403 | if (arg2 eqtype 0) |
416 | if (arg2 eqtype 0) |