COMMENT OPERAND base.inc bits.inc timer.inc porta.inc OPCODE INCLUDE INCLUDE INCLUDE INCLUDE LABEL Include files EQU TOF PAO IRCEQU Define interrupt vector address Define stack pointer Define program start point SFFDE SD000 SCO00 STKPTR PROG EQU Clear Port A Set up Port A for output Initialize OUTDATA to all ones Enable timer PTA CLR #SFF, OUTDATA MOVB Set up prescalar bits for perscalar timer Clear TOF Enable TCNT overflow Enable global interrupts Loop forever BRA forever forever Start of ISR TOF_PAO_IRQ Output
OR
OR