.UpdateScanner LDA scannerUpdate \ If scannerUpdate is non-zero then the scanner is BNE UpdateScannerNow \ configured to update, so jump to UpdateScannerNow to \ do just that, returning from the subroutine using a \ tail call CMP lastScannerState \ If the scanner state has not changed since the last BEQ scan6 \ time we updated the scanner, jump to scan6 to return \ from the subroutine without updating the scanner \ Otherwise fall through into UpdateScannerNow to update \ the scannerName: UpdateScanner [Show more] Type: Subroutine Category: Scanner/energy row Summary: Update the scanner, if requiredContext: See this subroutine in context in the source code References: This subroutine is called as follows: * IRQHandler calls UpdateScanner
[X]
Subroutine UpdateScannerNow (category: Scanner/energy row)
Update the scanner to a new state
[X]
Variable lastScannerState in workspace Main variable workspace
The state of the scanner the last time that it was updated
[X]
Entry point scan6 in subroutine UpdateScannerNow (category: Scanner/energy row)
Contains an RTS
[X]
Variable scannerUpdate in workspace Main variable workspace
A flag to control whether the scanner gets updated