• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Compiling AMD64 .sys files from assembler (.asm) code

yukichigai

Diamond Member
Right, so I've got some assembler code, suitable for making into a device driver. Well, under 32-bit windows. The difficulty is that I need to make it into a 64-bit compatible .sys file. I'm having trouble understanding how to create a .sys file for 32-bit windows out of asm code (with the compilers I have, anyway) that doing so for 64-bit seems, well, freakin' impossible. I get the distinct impression that I need a) different tools, and even then I'll also need b) a different procedure to make a working .sys file.

Incidentally, I feel it important to point out the fact that college in no way prepared me for this real world experience, especially since I graduated with a Bachelor's in Computer Science. 😛
 
You need tools capable of outputting a 64-bit binary which may or may not be the current set you're using, it's impossible to tell since you haven't said what you're using.
 
Originally posted by: Nothinman
You need tools capable of outputting a 64-bit binary which may or may not be the current set you're using, it's impossible to tell since you haven't said what you're using.
I've got a couple compilers, including Visual C++ 2k5 and Borland. I've also got the Win 2k3 DDK, which includes the ml64 ASM compiler. I'm assuming the latter is the ideal one to use, but the damn DDK doesn't include any (intelligible) documentation regarding how to make a sys file specifically, or detailing the numerous syntax changes in the asm code it uses for compilation.
 
Back
Top