Subject:
|
Re: OOPS!
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Tue, 27 May 1997 20:27:27 GMT
|
Original-From:
|
Max Davies <MDAVIES@CAM.ORGantispam>
|
Viewed:
|
1721 times
|
| |
| |
root wrote:
> I probably oughta mention that that
>
> "analog.asm"(17): symbol Undefined on pass 2
>
> Error points to the
>
> ORG MAIN_START
>
> line in the code. Sorry for the omission.
>
> John
In the little Assembler system that I use (which can be found at
http://WWW.CAM.ORG/~mdavies/HB/asm.htm), MAIN_START is defined in the
commands in the .BAT file that run the preprocessor:
echo off
REM Two different as11 runs...
REM zero page increases by 3
REM main high byte increases by 7
REM main low byte increases by 11
REM copy to 'C' filename for GCC
copy %1.asm xxxjunk.c
gcc -E -traditional -DZERO_PAGE_START=$10 -DMAIN_START=$8020 -o
ascpp1.asm xxxjunk.c
gcc -E -traditional -DZERO_PAGE_START=$13 -DMAIN_START=$872B -o
ascpp2.asm xxxjunk.c
REM use this one for a listing
REM as11 ascpp1.asm - l s >listing.txt
REM use this one for no listing
as11 ascpp1.asm
as11 ascpp2.asm - cre > ascpp.cre
REM concantenate these files together
copy ascpp1.s19+ascpp2.s19+ascpp.cre %1.icb
REM get rid of temp files
del ascpp1.asm
del ascpp1.s19
del ascpp2.asm
del ascpp2.s19
del ascpp.cre
del xxxjunk.c
REM strip carriage returns from the new icb file
strip_cr %1.icb
|
|
Message is in Reply To:
| | OOPS!
|
| I probably oughta mention that that "analog.asm"(17): symbol Undefined on pass 2 Error points to the ORG MAIN_START line in the code. Sorry for the omission. John (27 years ago, 27-May-97, to lugnet.robotics.handyboard)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|