How to build ASM files in DDK?

Yes, thats right - ASM files.

Anyway, when I add myasm.asm to SOURCES=, I get this error:

NMAKE : fatal error U1073: don’t know how to make ‘myasm.obj’

Use machine specific SOURCES declarations:

SOURCES_I386
SOURCES_AMD64

create sub directories for each (i386, and amd64) and put your .asm files
there.

t.

On Tue, 16 Mar 2010, Neil Weicher wrote:

Yes, thats right - ASM files.

Anyway, when I add myasm.asm to SOURCES=, I get this error:

NMAKE : fatal error U1073: don’t know how to make ‘myasm.obj’


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Thanks, Tracy. Seems to work. Also found the (apparently undocumented)
ASM_DEFINES macro.

“Tracy Camp” wrote in message news:xxxxx@ntfsd…
> Use machine specific SOURCES declarations:
>
> SOURCES_I386
> SOURCES_AMD64
>
> create sub directories for each (i386, and amd64) and put your .asm files
> there.
>
> t.
>
> On Tue, 16 Mar 2010, Neil Weicher wrote:
>
>> Yes, thats right - ASM files.
>>
>> Anyway, when I add myasm.asm to SOURCES=, I get this error:
>>
>> NMAKE : fatal error U1073: don’t know how to make ‘myasm.obj’
>>
>>
>>
>>
>> —
>> NTFSD is sponsored by OSR
>>
>> For our schedule of debugging and file system seminars
>> (including our new fs mini-filter seminar) visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>

For X86, you can use __asm directly in your code. You can search ‘SOURCES’ in WDK document to get more info about those two macros.

Thanks
Wayne

-----Original Message-----
From: Neil Weicher [mailto:xxxxx@netlib.com]
Sent: Wednesday, March 17, 2010 5:32 AM
To: Windows File Systems Devs Interest List
Subject: Re:[ntfsd] How to build ASM files in DDK?

Thanks, Tracy. Seems to work. Also found the (apparently undocumented)
ASM_DEFINES macro.

“Tracy Camp” wrote in message news:xxxxx@ntfsd…
> Use machine specific SOURCES declarations:
>
> SOURCES_I386
> SOURCES_AMD64
>
> create sub directories for each (i386, and amd64) and put your .asm files
> there.
>
> t.
>
> On Tue, 16 Mar 2010, Neil Weicher wrote:
>
>> Yes, thats right - ASM files.
>>
>> Anyway, when I add myasm.asm to SOURCES=, I get this error:
>>
>> NMAKE : fatal error U1073: don’t know how to make ‘myasm.obj’
>>
>>
>>
>>
>> —
>> NTFSD is sponsored by OSR
>>
>> For our schedule of debugging and file system seminars
>> (including our new fs mini-filter seminar) visit:
>> http://www.osr.com/seminars
>>
>> To unsubscribe, visit the List Server section of OSR Online at
>> http://www.osronline.com/page.cfm?name=ListServer
>>
>


NTFSD is sponsored by OSR

For our schedule of debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Why do you need ASM files? I’m not saying that you shouldn’t. I am
just curious and trying to understand the problem you are trying to
solve.


Aram Hăvărneanu