R32V2020 I/O Latch
Jump to navigation
Jump to search
- This is an 8-bit latch
- The 8-bits go to I/O pins on the card
Sample Code
; ; writeDIGIO ; Write the DIGIO output lines ; value to write is passed in r8 ; writeDIGIO: push PAR lix PAR,0x5000 ; 8-bit Digital Output port spl r8 ; Output bit pull PAR pull PC