page2
Clear Set Interrupt Flag
Rotate stored data
Load newest value
Mask upper 4 bits
Store new value
Does combo match?
Y
N
Combination Lock Interrupt
RTI
Turn Lock LED on