1 1 ;--------------------------------------------------------
2 2 ; File Created by SDCC : FreeWare ANSI-C Compiler
3 3 ; Version 2.1.9Ga Sun Jan 16 17:31:28 2000
5 5 ;--------------------------------------------------------
7 7 ;--------------------------------------------------------
8 8 ; publics variables in this module
9 9 ;--------------------------------------------------------
11 11 ;--------------------------------------------------------
12 12 ; special function registers
13 13 ;--------------------------------------------------------
14 14 ;--------------------------------------------------------
15 15 ; special function bits
16 16 ;--------------------------------------------------------
17 17 ;--------------------------------------------------------
18 18 ; internal ram data
19 19 ;--------------------------------------------------------
21 21 ;--------------------------------------------------------
22 22 ; overlayable items in internal ram
23 23 ;--------------------------------------------------------
24 24 .area OSEG (OVR,DATA)
25 25 ;--------------------------------------------------------
26 26 ; indirectly addressable internal ram data
27 27 ;--------------------------------------------------------
29 29 ;--------------------------------------------------------
31 31 ;--------------------------------------------------------
33 33 ;--------------------------------------------------------
34 34 ; external ram data
35 35 ;--------------------------------------------------------
37 37 ;--------------------------------------------------------
38 38 ; global & static initialisations
39 39 ;--------------------------------------------------------
40 40 .area GSINIT (CODE)
41 41 ;--------------------------------------------------------
43 43 ;--------------------------------------------------------
45 0000 45 G$_gptrput$0$0 ==.
47 47 ; -----------------------------------------
48 48 ; function _gptrput
49 49 ; -----------------------------------------
61 0001 C0 E0 61 push acc
63 0004 C0 E0 63 push acc
65 65 ; depending on the pointer type
68 0008 60 0D 68 jz 00001$
70 000B 60 11 70 jz 00002$
72 000E 60 13 72 jz 00003$
74 0011 60 14 74 jz 00004$
76 0015 80 15 76 sjmp 00005$
78 78 ; store into near space
82 0019 A8 82 82 mov r0,dpl
84 001C 80 0E 84 sjmp 00005$
87 0020 F0 87 movx @dptr,a
88 0021 80 09 88 sjmp 00005$
90 0023 D0 E0 90 pop acc ; do nothing
91 0025 80 05 91 sjmp 00005$
94 0029 A8 82 94 mov r0,dpl
101 0030 101 C$_gptrput.c$73$1$1 ==.
102 0030 102 XG$_gptrput$0$0 ==.
104 104 .area CSEG (CODE)