02-20-2012, 09:20 PM
britlion Wrote:Ah - then you'd need one that just looks like this, I think:Works and is very very fast!!!
Code:function fastcall mirror (number as uByte) as uByte
asm
ld b,8
ld c,a
XOR A
mirrorLoop:
RR C
RLA
DJNZ mirrorLoop
end asm
END FUNCTION
I haven't tested it, mind. Just typed it here. Feels right, though
Simple but great!
------------------------------------------------------------
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!
http://lcd-one.da.ru redirector is dead
Visit my http://members.inode.at/838331/index.html home page!