>>
>> All right:
>>
>> Multiply and Division:
>>
>> Both SIGNED, without look-up-tables. Use of all registers is permitted,
but
>> messing with the stackpointer is NOT allowed.
>>
>> Multiply: 16 (BX) * 16 (CX) = 32 bit signed in DX:AX
>> Division: 16 (BX) / 8 (CL) = 8 bit signed in AL
BX, CX, DX, AX, AL, CL? That sounds like 80x86 registers. The Z80 has the
following registers: HL, DE, BC, HL', DE', BC', IX, IY, SP, PC, AF, AF'
And the division routine: how should it handle the following case:
16000/4 (16 bits / 8 bits). The result is 4000, which does not fit
in 8 bits...
Best regards,
Alex
Oh, and by the way. Who says that the ASCII routines are the fastest?