i'm trying to hook windows keyboard interrupt with HalGetInterruptVector however BSOD when call HalGetInterruptVector and i kant hook teh keyboard interrupt in windows IDT. see part of my source code:
Start:
PUSH 0
MOV RAX,RSP
PUSH RAX
PUSH RAX
PUSH 1
PUSH 1
PUSH 0
PUSH 1
CALL HalGetInterruptVector ; Here BSOD happens
AND RAX,0FFH
MOV [IRQ1],RAX
Why my windows 8 x64 Blue Screen Of Death happens with my code? Where is wrong?