1 ;-------------------------------------------------------- 2 ; File Created by SDCC : FreeWare ANSI-C Compiler 3 ; Version 2.1.9Ga Sun Jan 16 17:31:29 2000 4 5 ;-------------------------------------------------------- 6 .module _isprint 7 ;-------------------------------------------------------- 8 ; publics variables in this module 9 ;-------------------------------------------------------- 10 .globl _isprint 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) 0000 37 _isprint_c_1_1: 0000 38 .ds 0x0001 39 ;-------------------------------------------------------- 40 ; global & static initialisations 41 ;-------------------------------------------------------- 42 .area GSINIT (CODE) 43 ;-------------------------------------------------------- 44 ; code 45 ;-------------------------------------------------------- 46 .area CSEG (CODE) 0000 47 G$isprint$0$0 ==. 48 ; _isprint.c 24 49 ; ----------------------------------------- 50 ; function isprint 51 ; ----------------------------------------- 0000 52 _isprint: 0002 53 ar2 = 0x02 0003 54 ar3 = 0x03 0004 55 ar4 = 0x04 0005 56 ar5 = 0x05 0006 57 ar6 = 0x06 0007 58 ar7 = 0x07 0000 59 ar0 = 0x00 0001 60 ar1 = 0x01 61 ; _isprint.c 29 0000 C0 82 62 push dpl 0002 90s00r00 63 mov dptr,#_isprint_c_1_1 0005 D0 E0 64 pop acc 0007 F0 65 movx @dptr,a 66 ; _isprint.c 27 0008 90s00r00 67 mov dptr,#_isprint_c_1_1 000B E0 68 movx a,@dptr 000C FA 69 mov r2,a 000D BA 20 00 70 cjne r2,#0x20,00108$ 0010 71 00108$: 72 ; Peephole 132 changed ljmp to sjmp 73 ; Peephole 160 removed sjmp by inverse jump logic 0010 40 0B 74 jc 00102$ 0012 75 00109$: 0012 C3 76 clr c 0013 74 7E 77 mov a,#0x7e 0015 9A 78 subb a,r2 79 ; Peephole 132 changed ljmp to sjmp 80 ; Peephole 160 removed sjmp by inverse jump logic 0016 40 05 81 jc 00102$ 0018 82 00110$: 83 ; _isprint.c 28 0018 75 82 01 84 mov dpl,#0x01 85 ; Peephole 132 changed ljmp to sjmp 001B 80 03 86 sjmp 00104$ 001D 87 00102$: 88 ; _isprint.c 29 001D 75 82 00 89 mov dpl,#0x00 0020 90 00104$: 0020 91 C$_isprint.c$30$1$1 ==. 0020 92 XG$isprint$0$0 ==. 0020 22 93 ret 94 .area CSEG (CODE)