Comment Operand Baseinc Bitsinc Timerinc Portainc Opcode Include Include Include Include L Q37074294

COMMENT OPERAND base.inc bits.inc timer.inc porta.inc OPCODE INCLUDE INCLUDE INCLUDE INCLUDE LABEL Include files EQU TOF PAOCOMMENT 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

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.