First page Back Continue Last page Overview Text


To write data to the LED's, port S needs to be made an output port. Make port S an output by writing all ones to the port S data direction register at address $d7.

Since ADDEND is uninitialized, the debugger can be used to put different values in addend each time the program is executed. To modify a variable, place the cursor on the variable, right click and select Variable/Modify.