40 likes | 140 Views
PD32. IACK. CHECK VETRO. IACK. DECORA. IO AB. IO DB. IO CB. IRQ. IACK. START. CLEAR. IORD. SEL2. O.C. SEL1. IVN. SEL3. IORD. IORD. S Q R. SEL2. SEL3. MISURA. MISURA. MISURA. COMPLETE. STARTD. IACK. SCO CHECK VETRO. SCA. IO AB. IO DB. IO CB. IRQ.
E N D
PD32 IACK CHECK VETRO IACK DECORA
IO AB IO DB IO CB IRQ IACK START CLEAR IORD SEL2 O.C. SEL1 IVN SEL3 IORD IORD S Q R SEL2 SEL3 MISURA MISURA MISURA COMPLETE STARTD IACK SCO CHECK VETRO SCA
IO AB IO DB IO CB IRQ IACK START CLEAR IOWR SEL2 O.C. SEL1 IVN SEL3 IOWR MISURA MISURA S Q R SEL3 SEL2 MISURA IOWR COMPLETE STARTD IACK SCO DECORA SCA
DRIVER1,2000H; DRIVER DECORA CLEAR DECORA START CHECKVETRO RTI ORG 400H CHECK1 EQU CHECK2 EQU CHECK3 EQU DEC1 EQU DEC2 EQU DEC3 EQU CODE SETI START CHECK1 MAIN: JMP MAIN DRIVER 0,1000H; CHECKVETRO PUSH.. XORL R0,R0 XORLR1,R1 XORL R2,R2 XORL R3,R3 INW CHECK1,R1 INW CHECK2,R2 INW CHECK,R3 ;CALCOLO A ADDL R1,R0 ADDL R2,R0 ADDL R3,R0 ASRL #1,R0 OUTL R0,DEC1 ; CALCOLO B XORL R0,R0 MOVL R1,R4 ASLL #2,R4 ADDL R4, R0 MOVL R3,R4 ASLL #3,R4 ADDL R4,R0 OUTL R0,DEC2 ;CALCOLO C MOVL R1,R4 ASRL #1,R4 MOVL R4,R0 MOVL R2,R4 ASLL #2,R4 SUBL R4,R0 OUTL R0,DEC3 START DECORA CLEAR CHECK1 POP.. RTI