Writing asm code for 32 bit drivers is straightforward. You can embed the code in an __asm { } block. void DemoFunction() { __asm { mov eax, 0x01 ; more assembly } } But writing assembly in 64 bit driver source code requires a bit more work. The 64 bit compiler will not allow inline assembly. The assembly code will have to be moved to a seperate assembly module (an .asm file). Step 1 : Write necessary assembly routines in a seperate .asm file Example : Test.asm ---------------------------... ......
Computers with 64 bit processors are becoming popular, at least in enterprise circles. Also the X64 version of Windows Vista is more popular than Windows XP 64 bit edition. 2 Types of 64 bit architecture Yes, unlike 32 bit (aka X32) there are 2 64 bit architectures: AMD's X64 ; also known as X32-64 & AMD64 Intel's IA-64; also known as Itanium The subject of this post is AMD's 64 bit chip, which is commonly referred to as X64 So, whats the difference ? The X64 architecture is a super set of X32 ......