Home » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_27.ADF » P/TEST1

P/TEST1

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 » Personal collection » Acorn ADFS disks » Electron_User_Group » EUG_27.ADF
Filename: P/TEST1
Read OK:
File size: 0182 bytes
Load address: FFFF0E00
Exec address: FFFF802B
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
   10REM Example program ONE
   20*RUN 27KASM
   30FORX=4 TO 7 STEP3
   40P%=&3000:O%=&A00
   50REM Offset assembly to appear at &3000 yet stored at &A00
   60VDU255 
   70[OPTX
   80NOP:RTS:\Useless
   90LDA&ABCD,Y:LDAtable,X:\Demonstrates forward labels work OK
  100STA&FC00:RTS
  110JSR&FFF4:SEI:\More uselessness
  120.table
  130BRK
  140]
  150VDU255
  160NEXT
  170*INFO OBJECT
  180REM The proof is in the testing
  190*DUMP OBJECT

� Example program ONE
*RUN 27KASM
�X=4 � 7 �3
(P%=&3000:O%=&A00
2;� Offset assembly to appear at &3000 yet stored at &A00
<	�255 
F	[OPTX
PNOP:RTS:\Useless
Z>LDA&ABCD,Y:LDAtable,X:\Demonstrates forward labels work OK
dSTA&FC00:RTS
n"JSR&FFF4:SEI:\More uselessness
x
.table
�BRK
�]
��255
��
�*INFO OBJECT
�!� The proof is in the testing
�*DUMP OBJECT
�
00000000  0d 00 0a 19 f4 20 45 78  61 6d 70 6c 65 20 70 72  |..... Example pr|
00000010  6f 67 72 61 6d 20 4f 4e  45 0d 00 14 0f 2a 52 55  |ogram ONE....*RU|
00000020  4e 20 32 37 4b 41 53 4d  0d 00 1e 0f e3 58 3d 34  |N 27KASM.....X=4|
00000030  20 b8 20 37 20 88 33 0d  00 28 14 50 25 3d 26 33  | . 7 .3..(.P%=&3|
00000040  30 30 30 3a 4f 25 3d 26  41 30 30 0d 00 32 3b f4  |000:O%=&A00..2;.|
00000050  20 4f 66 66 73 65 74 20  61 73 73 65 6d 62 6c 79  | Offset assembly|
00000060  20 74 6f 20 61 70 70 65  61 72 20 61 74 20 26 33  | to appear at &3|
00000070  30 30 30 20 79 65 74 20  73 74 6f 72 65 64 20 61  |000 yet stored a|
00000080  74 20 26 41 30 30 0d 00  3c 09 ef 32 35 35 20 0d  |t &A00..<..255 .|
00000090  00 46 09 5b 4f 50 54 58  0d 00 50 14 4e 4f 50 3a  |.F.[OPTX..P.NOP:|
000000a0  52 54 53 3a 5c 55 73 65  6c 65 73 73 0d 00 5a 3e  |RTS:\Useless..Z>|
000000b0  4c 44 41 26 41 42 43 44  2c 59 3a 4c 44 41 74 61  |LDA&ABCD,Y:LDAta|
000000c0  62 6c 65 2c 58 3a 5c 44  65 6d 6f 6e 73 74 72 61  |ble,X:\Demonstra|
000000d0  74 65 73 20 66 6f 72 77  61 72 64 20 6c 61 62 65  |tes forward labe|
000000e0  6c 73 20 77 6f 72 6b 20  4f 4b 0d 00 64 10 53 54  |ls work OK..d.ST|
000000f0  41 26 46 43 30 30 3a 52  54 53 0d 00 6e 22 4a 53  |A&FC00:RTS..n"JS|
00000100  52 26 46 46 46 34 3a 53  45 49 3a 5c 4d 6f 72 65  |R&FFF4:SEI:\More|
00000110  20 75 73 65 6c 65 73 73  6e 65 73 73 0d 00 78 0a  | uselessness..x.|
00000120  2e 74 61 62 6c 65 0d 00  82 07 42 52 4b 0d 00 8c  |.table....BRK...|
00000130  05 5d 0d 00 96 08 ef 32  35 35 0d 00 a0 05 ed 0d  |.].....255......|
00000140  00 aa 10 2a 49 4e 46 4f  20 4f 42 4a 45 43 54 0d  |...*INFO OBJECT.|
00000150  00 b4 21 f4 20 54 68 65  20 70 72 6f 6f 66 20 69  |..!. The proof i|
00000160  73 20 69 6e 20 74 68 65  20 74 65 73 74 69 6e 67  |s in the testing|
00000170  0d 00 be 10 2a 44 55 4d  50 20 4f 42 4a 45 43 54  |....*DUMP OBJECT|
00000180  0d ff                                             |..|
00000182
P/TEST1.m0
P/TEST1.m1
P/TEST1.m2
P/TEST1.m4
P/TEST1.m5