64位windows驱动使用asm, 要单独写一个asm文件

命令ml64 /c test.asm编译成obj文件

SOURCES加上test.asm

.data

; all data variables in your asm code goes here
myData1   dq   0   ; 64 bit data


.code

; all assembly routines go here

CallBackStub PROC

    ; sample function/routine/procedure

    ; assembly code for the function goes here

    ret
  
CallBackStub ENDP

END ; end of assembly file