Home » Archimedes archive » Acorn User » AU 1993-09.adf » !StarInfo_StarInfo » SharedCLib/SCL/SWI00

SharedCLib/SCL/SWI00

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 1993-09.adf » !StarInfo_StarInfo
Filename: SharedCLib/SCL/SWI00
Read OK:
File size: 01AE bytes
Load address: 0000
Exec address: 0000
File contents
   10REM     >SCL.SWI00 memcpy (Info12)
   20REM By  DCA
   30REM For 32-bit machines
   40REM (c) BAU September 1993
   50:
   60DEF FNswi00_name
   70="memcpy"
   80:
   90DEF FNswi00_init
  100=0
  110:
  120DEF FNswi00_vars
  130memcpy=38*4
  140=0
  150:
  160DEF FNswi00_code
  170[OPT pass%
  180.scl_memcpy
  190        STMDB   (sp)!,{lr}
  200        LDMIA   r1,{r0,r1,r2}
  210        BL      clib_vectors+memcpy
  220        MOV     r0,#0
  230        LDMIA   (sp)!,{pc}^
  240]
  250=0

$�     >SCL.SWI00 memcpy (Info12)

� By  DCA
� For 32-bit machines
(� (c) BAU September 1993
2:
<� �swi00_name
F
="memcpy"
P:
Z� �swi00_init
d=0
n:
x� �swi00_vars
�memcpy=38*4
�=0
�:
�� �swi00_code
�[OPT pass%
�.scl_memcpy
�        STMDB   (sp)!,{lr}
�!        LDMIA   r1,{r0,r1,r2}
�'        BL      clib_vectors+memcpy
�        MOV     r0,#0
�        LDMIA   (sp)!,{pc}^
�]
�=0
�
00000000  0d 00 0a 24 f4 20 20 20  20 20 3e 53 43 4c 2e 53  |...$.     >SCL.S|
00000010  57 49 30 30 20 6d 65 6d  63 70 79 20 28 49 6e 66  |WI00 memcpy (Inf|
00000020  6f 31 32 29 0d 00 14 0d  f4 20 42 79 20 20 44 43  |o12)..... By  DC|
00000030  41 0d 00 1e 19 f4 20 46  6f 72 20 33 32 2d 62 69  |A..... For 32-bi|
00000040  74 20 6d 61 63 68 69 6e  65 73 0d 00 28 1c f4 20  |t machines..(.. |
00000050  28 63 29 20 42 41 55 20  53 65 70 74 65 6d 62 65  |(c) BAU Septembe|
00000060  72 20 31 39 39 33 0d 00  32 05 3a 0d 00 3c 11 dd  |r 1993..2.:..<..|
00000070  20 a4 73 77 69 30 30 5f  6e 61 6d 65 0d 00 46 0d  | .swi00_name..F.|
00000080  3d 22 6d 65 6d 63 70 79  22 0d 00 50 05 3a 0d 00  |="memcpy"..P.:..|
00000090  5a 11 dd 20 a4 73 77 69  30 30 5f 69 6e 69 74 0d  |Z.. .swi00_init.|
000000a0  00 64 06 3d 30 0d 00 6e  05 3a 0d 00 78 11 dd 20  |.d.=0..n.:..x.. |
000000b0  a4 73 77 69 30 30 5f 76  61 72 73 0d 00 82 0f 6d  |.swi00_vars....m|
000000c0  65 6d 63 70 79 3d 33 38  2a 34 0d 00 8c 06 3d 30  |emcpy=38*4....=0|
000000d0  0d 00 96 05 3a 0d 00 a0  11 dd 20 a4 73 77 69 30  |....:..... .swi0|
000000e0  30 5f 63 6f 64 65 0d 00  aa 0e 5b 4f 50 54 20 70  |0_code....[OPT p|
000000f0  61 73 73 25 0d 00 b4 0f  2e 73 63 6c 5f 6d 65 6d  |ass%.....scl_mem|
00000100  63 70 79 0d 00 be 1e 20  20 20 20 20 20 20 20 53  |cpy....        S|
00000110  54 4d 44 42 20 20 20 28  73 70 29 21 2c 7b 6c 72  |TMDB   (sp)!,{lr|
00000120  7d 0d 00 c8 21 20 20 20  20 20 20 20 20 4c 44 4d  |}...!        LDM|
00000130  49 41 20 20 20 72 31 2c  7b 72 30 2c 72 31 2c 72  |IA   r1,{r0,r1,r|
00000140  32 7d 0d 00 d2 27 20 20  20 20 20 20 20 20 42 4c  |2}...'        BL|
00000150  20 20 20 20 20 20 63 6c  69 62 5f 76 65 63 74 6f  |      clib_vecto|
00000160  72 73 2b 6d 65 6d 63 70  79 0d 00 dc 19 20 20 20  |rs+memcpy....   |
00000170  20 20 20 20 20 4d 4f 56  20 20 20 20 20 72 30 2c  |     MOV     r0,|
00000180  23 30 0d 00 e6 1f 20 20  20 20 20 20 20 20 4c 44  |#0....        LD|
00000190  4d 49 41 20 20 20 28 73  70 29 21 2c 7b 70 63 7d  |MIA   (sp)!,{pc}|
000001a0  5e 0d 00 f0 05 5d 0d 00  fa 06 3d 30 0d ff        |^....]....=0..|
000001ae