Chyba pekladace
Radek Benedikt
benedikt
Středa Březen 17 11:36:09 CET 2004
> Ale, chtel bych to zkusit i v jinem prekladaci. Mate nekdo Keil nebo
> Franklin 5.x ? Muzete to zkusit ?
*********** Franklin ProView32 *************
C51 COMPILER V6.11.3B, TEST 07/23/98 21:46:51 =
PAGE 1
QCW(0x00002D1A)
WIN32 C51 COMPILER V6.11.3B, COMPILATION OF MODULE TEST =20
OBJECT MODULE PLACED IN c:\benedikt\test\test.obj
COMPILER INVOKED BY: C51.EXE C:\BENEDIKT\TEST\TEST.C =
OBJECT(C:\BENEDIKT\TEST\TES
-T.OBJ) PIN(C:\PROGRAM FILES\FSI\INC) NOAM =
PR(C:\BENEDIKT\TEST\TEST.
-LST) CD SB OE(1) SM FP(NOFLOAT) PW(80)=20
stmt level source
1 #define byte unsigned char
2 #define word unsigned int
3 #define FN_G_WRITE_BLOCK 1
4 =20
5 byte bpFnBuffer[10];
6 =20
7 bit bbDispBlockWrite(byte *bp, word wLen)
8 {
9 1 *(byte *)(bpFnBuffer+0)=3DFN_G_WRITE_BLOCK;
10 1 *(byte **)(bpFnBuffer+1)=3Dbp;
11 1 *(word *)(bpFnBuffer+4)=3DwLen;
12 1 }
WARNING 173 IN LINE 12 OF test.c : 'bbDispBlockWrite': missing r
-eturn expression
C51 COMPILER V6.11.3B, TEST 07/23/98 21:46:51 =
PAGE 2
ASSEMBLY LISTING OF GENERATED OBJECT CODE
; FUNCTION _bbDispBlockWrite (BEGIN)
; SOURCE LINE # 11=20
0000 8B00 R MOV bp,R3
0002 8A00 R MOV bp+01H,R2
0004 8900 R MOV bp+02H,R1
; Register R4R5 is assigned to parameter wLen
; SOURCE LINE # 9=20
0006 7900 R MOV R1,#bpFnBuffer
0008 E4 CLR A
0009 FA MOV R2,A
000A 7B01 MOV R3,#001H
000C 04 INC A
000D 120000 R LCALL XPGN1?C
; SOURCE LINE # 10=20
0010 7900 R MOV R1,#bpFnBuffer+01H
0012 E500 R MOV A,bp
0014 120000 R LCALL XPGN1INC?C
0017 E500 R MOV A,bp+01H
0019 120000 R LCALL XPGN1INC?C
001C E500 R MOV A,bp+02H
001E 120000 R LCALL XPGN1?C
; SOURCE LINE # 11=20
0021 7900 R MOV R1,#bpFnBuffer+04H
0023 E4 CLR A
0024 FA MOV R2,A
0025 EC MOV A,R4
0026 120000 R LCALL XPGN1INC?C
0029 ED MOV A,R5
002A 120000 R LCALL XPGN1?C
002D 22 RET =20
; FUNCTION _bbDispBlockWrite (END)
C51 COMPILER V6.11.3B, TEST 07/23/98 21:46:51 =
PAGE 3
NAME CLASS MSPACE TYPE OFFSET =
SIZE
=3D=3D=3D=3D =3D=3D=3D=3D=3D =
=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D =3D=3D=3D=3D=3D=3D =3D=3D=3D=3D
bpFnBuffer . . . . . . . . . . . . . . PUBLIC DATA ARRAY 0000H =
10 =20
bbDispBlockWrite . . . . . . . . . . . PUBLIC CODE PROC ----- =
-----
bp?040 . . . . . . . . . . . . . . . PARAM DATA PTR 0000H =
3 =20
wLen?041 . . . . . . . . . . . . . . PARAM DATA U_INT 0003H 2 =
=20
bp?040 . . . . . . . . . . . . . . . PARAM DATA PTR 0000H =
3 =20
wLen?041 . . . . . . . . . . . . . . PARAM DATA U_INT 0003H 2 =
=20
C51 COMPILER V6.11.3B, TEST 07/23/98 21:46:51 =
PAGE 4
MODULE INFORMATION: STATIC OVERLAYABLE
CODE SIZE =3D 46 ----
CONSTANT SIZE =3D ---- ----
XDATA SIZE =3D ---- ----
PDATA SIZE =3D ---- ----
DATA SIZE =3D 10 ----
IDATA SIZE =3D ---- ----
BIT SIZE =3D ---- ----
END OF MODULE INFORMATION.
C51 COMPILATION COMPLETE. 1 WARNING, 0 ERROR
bye, Radek (benedikt@login.cz)
PS to Rehak: kdypak se objevi kopie LPhard BBSky? Nehryze te cerne =
svedomi?
Tyhle prekladace tam mam v evaluation verzich, coz pro dost lidi vic nez =
vyhovi.
Pevna linka do firmy je v soucasne verzi ve vystavbe (zari? rijen?), =
takze na www.lphard.cz zatim sekce jednocipu neni, kdo ma zajem muze si =
zavolat na mailerem na 2:423/83, popr. na BBSku +420-468-22376....
Další informace o konferenci Hw-list