Home » Archimedes archive » Acorn User » AU 1997-11 A.adf » Regulars1 » MikeC/Software/Count

MikeC/Software/Count

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Acorn User » AU 1997-11 A.adf » Regulars1
Filename: MikeC/Software/Count
Read OK:
File size: 00AA bytes
Load address: 0000
Exec address: 0000
File contents
;Binary Count on Output Port      
        LIST    P=16C84
        MOVLW   0
        TRIS    6
        OPTION
LOOP  
        INCF    6,F
        GOTO    LOOP
        END
00000000  3b 42 69 6e 61 72 79 20  43 6f 75 6e 74 20 6f 6e  |;Binary Count on|
00000010  20 4f 75 74 70 75 74 20  50 6f 72 74 20 20 20 20  | Output Port    |
00000020  20 20 0a 20 20 20 20 20  20 20 20 4c 49 53 54 20  |  .        LIST |
00000030  20 20 20 50 3d 31 36 43  38 34 0a 20 20 20 20 20  |   P=16C84.     |
00000040  20 20 20 4d 4f 56 4c 57  20 20 20 30 0a 20 20 20  |   MOVLW   0.   |
00000050  20 20 20 20 20 54 52 49  53 20 20 20 20 36 0a 20  |     TRIS    6. |
00000060  20 20 20 20 20 20 20 4f  50 54 49 4f 4e 0a 4c 4f  |       OPTION.LO|
00000070  4f 50 20 20 0a 20 20 20  20 20 20 20 20 49 4e 43  |OP  .        INC|
00000080  46 20 20 20 20 36 2c 46  0a 20 20 20 20 20 20 20  |F    6,F.       |
00000090  20 47 4f 54 4f 20 20 20  20 4c 4f 4f 50 0a 20 20  | GOTO    LOOP.  |
000000a0  20 20 20 20 20 20 45 4e  44 0a                    |      END.|
000000aa