I have seen some samples of keyboard and LCD drivers in ASM on application notes, and I have been using those components for years. Now we are planning to substitue keybord with a differential encoder.
Do anybody knows of some example of polled or interrupt driven ASM routine for input from a low-cost differential encoder? That one with 3 lines and a separate pushbutton. Slow response is required: I think some 20-40 pps is enough.