> On Jan 4, 2016, at 4:09 PM, Antony Gordon <[email protected]> wrote:
> 
> Hi,
> 
> I’m using NASM. It seems to work well with all the other labels. 
> 
> In my digging, I have found that default may be a keyword. I’ll try that too 
> just to be sure.

I think you are correct that it is a keyword. (I’ve never used it)

So, just do a search, replace and pray with something like defopt

But labels really do need that : 

Nash always complains that “a label alone on a line without a colon may be in 
error”

It is really useful when you type something like “jump OverInfiniteLoop"

:-)

> 
> -T
>> On Jan 4, 2016, at 4:07 PM, Jerome E. Shidel Jr. <[email protected]> wrote:
>> 
>> 
>>> On Jan 4, 2016, at 10:54 AM, Antony Gordon <[email protected]> wrote:
>>> 
>>> Hi,
>>> 
>>> I’m attempting to recompile FDISK and apparently you need to assemble 
>>> bootnorm.asm and booteasy.asm and I’m getting this error when assembling 
>>> booteasy.asm
>>> 
>>> booteasy.asm:260: error: invalid parameter to [default] directive
>>> This is line 260 below.
>>> 
>>> default         db      '?',' '+80h
>>> 
>>> Any thoughts?
>> 
>> Yep. What assembler are you using?
>> 
>> default looks like it should be a label.
>> 
>> in nasm you would require a colon to inform the compiler it is label. like 
>> this
>> 
>> default:             db …….
>> 
>>> 
>>> -T
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> Freedos-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>> 
>> 
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Freedos-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/freedos-devel
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Freedos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freedos-devel


------------------------------------------------------------------------------
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to