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