The table itself is a sequence of retlw instructions, which put a value into W and return. (dt and related directives are just assembler shorthand for inserting many retlws.)
A first try at implementing a table lookup thus looks like this:…
Added by Jack Sparrow on January 28, 2011 at 1:00am — 6 Comments
© 2024 Created by PML. Powered by