[Coco] ASM

Dave Philipsen dave at davebiz.com
Sat Mar 11 16:51:22 EST 2017


In the source code file there are certain directives that cause the output file to be specifically for OS9. If you are not familiar with them then you'll need to read the manual.  I don't have a link handy right now but I'm sure it's archived somewhere.  Maybe someone else can get to it more quickly than I.

Also, as Curtis alluded to, there are directives that allow you to use external files.  But you would probably see an error when the file was being assembled if there were a problem with that.

Dave

> On Mar 11, 2017, at 3:42 PM, phillip taylor <ptaylor2446 at gmail.com> wrote:
> 
> i do not understand what you are telling me. Can you please re-explain it
> to me the full instructions?
> 
> On Sat, Mar 11, 2017 at 4:35 PM, L. Curtis Boyle <curtisboyle at sasktel.net>
> wrote:
> 
>> Do you have the “mod” (module) line, and “eom” at the end, and have the
>> different module attributes set up properly? If you are using any defines,
>> etc. from the various DEF files, do you have the ‘use’ corresponding to
>> that as well?
>> 
>> 
>> L. Curtis Boyle
>> curtisboyle at sasktel.net
>> 
>> 
>> 
>>> On Mar 11, 2017, at 3:29 PM, phillip taylor <ptaylor2446 at gmail.com>
>> wrote:
>>> 
>>> The o= is creating the file but it's zero file length.
>>> 
>>> I typed asm test2.asm o=test2 #40k
>>> 
>>> 
>>> 
>>> On Sat, Mar 11, 2017 at 4:24 PM, L. Curtis Boyle <
>> curtisboyle at sasktel.net>
>>> wrote:
>>> 
>>>> If you are talking about OS-9/NitrOS-9 ASM, then o=<outpufilename>, no
>>>> dash.
>>>> Depending on the number of USE files you are using, you may have to add
>> a
>>>> memory specifier (like ‘#32k’) at the end of the command line, too.
>>>> 
>>>> L. Curtis Boyle
>>>> curtisboyle at sasktel.net
>>>> 
>>>> 
>>>> 
>>>>> On Mar 11, 2017, at 3:19 PM, phillip taylor <ptaylor2446 at gmail.com>
>>>> wrote:
>>>>> 
>>>>> I have been looking for te asm manual to try and figure out the correct
>>>>> command switches to compile a .asm file. What is the correct switches
>>>> that
>>>>> I need to use? -o and the -f is not working.
>>>>> 
>>>>> Thanks
>>>>> 
>>>>> --
>>>>> Coco mailing list
>>>>> Coco at maltedmedia.com
>>>>> https://pairlist5.pair.net/mailman/listinfo/coco
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Coco mailing list
>>>> Coco at maltedmedia.com
>>>> https://pairlist5.pair.net/mailman/listinfo/coco
>>>> 
>>> 
>>> --
>>> Coco mailing list
>>> Coco at maltedmedia.com
>>> https://pairlist5.pair.net/mailman/listinfo/coco
>>> 
>> 
>> 
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> https://pairlist5.pair.net/mailman/listinfo/coco
>> 
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list