??? 04/01/05 21:32 Modified: 04/01/05 21:35 Read: times |
#90836 - nope Responding to: ???'s previous message |
Like this? ReverseByte: jz RevByteX1 movc a,@a+pc RevByteX1: ret db 80h,40h,0C0h,20h,0A0h,60h ... etc.nope but like this ReverseByte: inc a movc a,@a+pc ret db 0,80h,40h,0C0h,20h,0A0h,60h,......(the code is in "the bible" chapter 2 pg 41). This is a bit "cleaner" although yours will work. I would set up the table in 126 per line and with your appeoach it woyld be a bit less starightforward to figure out what to put there. A suggestion: after having built the table, use one of the coded routines to verify your table. Erik |