Yes, W is the Accumulator on which almost all operations are performed.Is W some kind of temp byte? It appears that ASM compare commands only accept 1 input and that is always compared with W.
Yes, shadow is a byte sized variable which holds a copy of the actual bits which turn on/off the leds attached to PORTB. It has to be declared like thisWhat is "Shadow" though? Is that a predefined variable of some kind or does it need declaring anywhere?
Code:shadow: var byte
Bookmarks