??? 04/01/05 20:51 Read: times |
#90834 - lookup table Responding to: ???'s previous message |
Like this? ReverseByte: jz RevByteX1 movc a,@a+pc RevByteX1: ret db 80h,40h,0C0h,20h,0A0h,60h ... etc. Faster, sure; but if there can be beauty in a program, Peter's is much nicer. Jan Waclawek PS. Once I did this, although not on a '51, because my colleague who designs the HW, mirrored a connector by mistake, and 30 quite big boards have been already populated... |