Write a complete Gumnut program that monitors the value of input controller register 10. When the value changes from 0 to a nonzero value, the program increments a 16-bit counter and writes the counter value to output controller registers 12 (least significant byte) and 13 (most significant byte). The program should not terminate.