Initial revision
[fw/sdcc] / device / lib / _decdptr.lst
1                               1 ;--------------------------------------------------------
2                               2 ; File Created by SDCC : FreeWare ANSI-C Compiler
3                               3 ; Version 2.1.9Ga Sun Jan 16 17:31:22 2000
4                               4 
5                               5 ;--------------------------------------------------------
6                               6         .module _decdptr
7                               7 ;--------------------------------------------------------
8                               8 ; publics variables in this module
9                               9 ;--------------------------------------------------------
10                              10         .globl __decdptr
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 ;--------------------------------------------------------
20                              20         .area   DSEG    (DATA)
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 ;--------------------------------------------------------
28                              28         .area   ISEG    (DATA)
29                              29 ;--------------------------------------------------------
30                              30 ; bit data
31                              31 ;--------------------------------------------------------
32                              32         .area   BSEG    (BIT)
33                              33 ;--------------------------------------------------------
34                              34 ; external ram data
35                              35 ;--------------------------------------------------------
36                              36         .area   XSEG    (XDATA)
37                              37 ;--------------------------------------------------------
38                              38 ; global & static initialisations
39                              39 ;--------------------------------------------------------
40                              40         .area GSINIT (CODE)
41                              41 ;--------------------------------------------------------
42                              42 ; code
43                              43 ;--------------------------------------------------------
44                              44         .area CSEG (CODE)
45                     0000     45         G$_decdptr$0$0 ==.
46                              46 ;       _decdptr.c 26
47                              47 ;       -----------------------------------------
48                              48 ;        function _decdptr
49                              49 ;       -----------------------------------------
50    0000                      50 __decdptr:
51                     0002     51         ar2 = 0x02
52                     0003     52         ar3 = 0x03
53                     0004     53         ar4 = 0x04
54                     0005     54         ar5 = 0x05
55                     0006     55         ar6 = 0x06
56                     0007     56         ar7 = 0x07
57                     0000     57         ar0 = 0x00
58                     0001     58         ar1 = 0x01
59                              59 ;       _decdptr.c 35
60    0000 C5 82                60                         xch     a,dpl
61    0002 70 02                61                         jnz     00001$
62    0004 15 83                62                         dec     dph
63    0006                      63 00001$:
64    0006 14                   64                         dec     a
65    0007 C5 82                65                         xch     a,dpl
66    0009                      66 00101$:
67                     0009     67         C$_decdptr.c$36$1$1 ==.
68                     0009     68         XG$_decdptr$0$0 ==.
69    0009 22                   69         ret
70                              70         .area   CSEG    (CODE)