Initial revision
[ssr] / StraySrc / Libraries / BAS / src / sh / insert
1 ;
2 ; insert.sh
3 ;
4 ; Insert zero-filled chunks of data
5 ;
6 ; © 1994-1998 Straylight
7 ;
8
9 ;----- Licensing note -------------------------------------------------------
10 ;
11 ; This file is part of Straylight's BASIC Assembler Supplement.
12 ;
13 ; BAS is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
16 ; any later version.
17 ;
18 ; BAS is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
22 ;
23 ; You should have received a copy of the GNU General Public License
24 ; along with BAS. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26
27 ;----- Overview -------------------------------------------------------------
28 ;
29 ; Functions provided:
30 ;
31 ; insert_align
32 ; insert_reserve
33
34 ; --- insert_align ---
35 ;
36 ; On entry: --
37 ;
38 ; On exit: --
39 ;
40 ; Use: Inserts `0' bytes to align O% and P% to the next word
41 ; boundary.
42
43 IMPORT insert_align
44
45 ; --- insert_reserve ---
46 ;
47 ; On entry: R0 == amount of memory to reserve
48 ;
49 ; On exit: --
50 ;
51 ; Use: Reserves R0 bytes of memory at the current position. The
52 ; memory is filled with 0s.
53
54 IMPORT insert_reserve
55
56 ;----- That's all, folks ----------------------------------------------------
57
58 END