diff --git a/programs/macros.inc b/programs/macros.inc index 21c5ec635f..c02615a699 100644 --- a/programs/macros.inc +++ b/programs/macros.inc @@ -398,45 +398,6 @@ macro diff10 title,l1,l2 ; optimize the code for size __regs fix -macro cmp arg1,arg2 -{ - if (arg1 in __regs) & (arg2 eqtype 0) - if (arg2) = 0 - test arg1,arg1 - else - cmp arg1,arg2 - end if - else - cmp arg1,arg2 - end if -} - -macro add arg1,arg2 - { - if (arg2 eqtype 0) - if (arg2) = 1 - inc arg1 - else - add arg1,arg2 - end if - else - add arg1,arg2 - end if - } - -macro sub arg1,arg2 - { - if (arg2 eqtype 0) - if (arg2) = 1 - dec arg1 - else - sub arg1,arg2 - end if - else - sub arg1,arg2 - end if - } - macro mov arg1,arg2 { if (arg1 in __regs) & ((arg2 eqtype 0) | (arg2 eqtype '0'))