We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
if not exist as.lib goto usliex del as.lib :usliex c:\tools\keil\c51\bin\lib51 c as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sacode.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sccode.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a SSF881C.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a SSF882C.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a SSF882M.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a SSFcc1C.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a SSFcc2A.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a SSF901C.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Scrout.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sarout.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sfmtbs.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sfmtbm.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sssgchar.obj to as.lib >..\trash\trashbin c:\tools\keil\c51\bin\lib51 a Sssbmap.obj to as.lib >..\trash\trashbin REM if "%MUSTYP%"=="a" goto lnkac REM c:\tools\keil\c51\bin\bl51 SSLstart.obj, SSLisr.obj, SSLiic.obj, Smain.obj, Sxdata.obj, as.lib, c51s.lib TO as.omf RS(256) IX >protl.log REM goto lnkdn REM REM :lnkac REM c:\tools\keil\c51\bin\bl51 Sstart.obj, Sisr.obj, Siic.obj, Smain.obj, SSFcc2A.obj, Sxdata.obj, as.lib, c51s.lib TO as.omf RS(256) IX >protl.log c:\tools\keil\c51\bin\bl51 Sstart.obj, Sisr.obj, Siic.obj, Smain.obj, Sxdata.obj, as.lib, c51s.lib TO as.omf RS(256) IX >protl.log
And according to the docs, this should trigger an error message. But the way your batch file uses the trashbin, you'll never see that message. Your fault good point Erik
continuation: When I have the time I'll try with all the blasted messages omming out and see what happens. someone suggested I remove the NAME statement. If I remove the NAME statement will the filename be substituted or what? Erik
Well, you really should look that up in the manual yourself, Erik, but yes, without NAME, the module name will default to be the base of the source file name (and thus the same as the default .obj file basename).
I would look it up myself except that some unknown person "reduced" my set of manuals so I do not have the assembler manual any more :( Erik
So what? You should still have the electronic copy of the Assembler/Utilities manual (A51.pdf), right? Or did you manage to lose that one, too? That, and all Keil CDs you ever had?
just an old fashioned guy looking for a book :) erik
So get A51.pdf to the nearest printer and turn it into a book ;->