* Replaced the Div16 16-bits division routine with a faster one by Flyguille. The speed gain seems quite humble, 3 T-states, but this one can be unrolled to gain quite some speed.
Another 4 t-states can be saved by replacing XOR A ; 5 t-states LD L,A ; 5 t-states LD H,A ; 5 t-states with LD HL,0 ; 11 t-states
The first sequence of instructions are only faster if both A and HL are supposed to be 0, which is not the case in this routine.
Greetz,
Patriek_______________________________________________ MSX mailing list ([email protected]) Info page: http://lists.stack.nl/mailman/listinfo/msx
