51main.LST
上传用户:zgnl100
上传日期:2010-01-16
资源大小:1629k
文件大小:4k
- C51 COMPILER V7.10 51MAIN 03/23/2005 09:40:57 PAGE 1
- C51 COMPILER V7.10, COMPILATION OF MODULE 51MAIN
- OBJECT MODULE PLACED IN 51main.OBJ
- COMPILER INVOKED BY: C:KeilC51BINC51.EXE 51main.c OPTIMIZE(1,SPEED) BROWSE CODE DEBUG OBJECTEXTEND
- line level source
- 1 #include<stdio.h>
- 2
- 3 char * py_ime(char *);
- 4
- 5 void main(void)
- 6 {
- 7 1 while(1)
- 8 1 {
- 9 2 char input_string[]="yI";
- 10 2 xdata char chinese_string[255];
- 11 2 sprintf(chinese_string,"%s",py_ime(input_string));
- 12 2 }
- 13 1 }
- C51 COMPILER V7.10 51MAIN 03/23/2005 09:40:57 PAGE 2
- ASSEMBLY LISTING OF GENERATED OBJECT CODE
- ; FUNCTION main (BEGIN)
- ; SOURCE LINE # 5
- ; SOURCE LINE # 6
- 0000 ?C0001:
- ; SOURCE LINE # 7
- ; SOURCE LINE # 8
- ; SOURCE LINE # 9
- 0000 7BFF MOV R3,#0FFH
- 0002 7A00 R MOV R2,#HIGH _?ix1000
- 0004 7900 R MOV R1,#LOW _?ix1000
- 0006 C003 PUSH AR3
- 0008 C002 PUSH AR2
- 000A C001 PUSH AR1
- 000C 7B00 MOV R3,#00H
- 000E 7A00 R MOV R2,#HIGH input_string
- 0010 7900 R MOV R1,#LOW input_string
- 0012 A801 MOV R0,AR1
- 0014 AC02 MOV R4,AR2
- 0016 AD03 MOV R5,AR3
- 0018 D001 POP AR1
- 001A D002 POP AR2
- 001C D003 POP AR3
- 001E 7E00 MOV R6,#00H
- 0020 7F03 MOV R7,#03H
- 0022 120000 E LCALL ?C?COPY
- ; SOURCE LINE # 11
- 0025 7B00 MOV R3,#00H
- 0027 7A00 R MOV R2,#HIGH input_string
- 0029 7900 R MOV R1,#LOW input_string
- 002B 120000 E LCALL _py_ime
- 002E 8B00 E MOV ?_sprintf?BYTE+06H,R3
- 0030 8A00 E MOV ?_sprintf?BYTE+07H,R2
- 0032 8900 E MOV ?_sprintf?BYTE+08H,R1
- 0034 7B01 MOV R3,#01H
- 0036 7A00 R MOV R2,#HIGH chinese_string
- 0038 7900 R MOV R1,#LOW chinese_string
- 003A C003 PUSH AR3
- 003C C002 PUSH AR2
- 003E C001 PUSH AR1
- 0040 7BFF MOV R3,#0FFH
- 0042 7A00 R MOV R2,#HIGH ?SC_0
- 0044 7900 R MOV R1,#LOW ?SC_0
- 0046 8B00 E MOV ?_sprintf?BYTE+03H,R3
- 0048 8A00 E MOV ?_sprintf?BYTE+04H,R2
- 004A 8900 E MOV ?_sprintf?BYTE+05H,R1
- 004C D001 POP AR1
- 004E D002 POP AR2
- 0050 D003 POP AR3
- 0052 120000 E LCALL _sprintf
- ; SOURCE LINE # 12
- 0055 80A9 SJMP ?C0001
- 0057 22 RET
- ; FUNCTION main (END)
- MODULE INFORMATION: STATIC OVERLAYABLE
- CODE SIZE = 88 ----
- CONSTANT SIZE = 6 ----
- C51 COMPILER V7.10 51MAIN 03/23/2005 09:40:57 PAGE 3
- XDATA SIZE = 255 ----
- PDATA SIZE = ---- ----
- DATA SIZE = 3 ----
- IDATA SIZE = ---- ----
- BIT SIZE = ---- ----
- END OF MODULE INFORMATION.
- C51 COMPILATION COMPLETE. 0 WARNING(S), 0 ERROR(S)