* File: count_c_slow.asm * Author: Tom Dickens * Date: 6/6/1997 * Processor Type: 68HC11E1 * * Purpose: To output an 8-bit binary count on the * C port of the HC11. * ORG $B600 ; start of EEPROM ldaa #%11111111 staa $1007 ; Set port C to output (0=in, 1=out) ldaa #$00 staa $1003 ; Clears port C to $00 Main inca staa $1003 ; Adds 1 to port C ldx #$4000 ; Delay dex bne Delay bra Main ; Creates an infinite loop * end-of-file