Re: Assembly Code in 64 bit driver



There is no equivalent of MOV, why should there be if you are going this far
just code everything in assembler. Of course that is a really dumb idea for
Windows, since there is little or no need for assembler in 99% of the
drivers.

Go get the DDK and start reading.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply



"ramjohnny" <ramjohnny@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B7993FED-6BAE-40A2-A649-48437B281ED9@xxxxxxxxxxxxxxxx
Where do I find the whole list of such functions and the corresponding
assembly instructions?

For example, to what function would the instruction 'mov' correspond to?


--
Ram
Driver Developer


"Don Burn" wrote:

Well since you should not be using ing out anyway, you might look at the
WRITE_PORT_XXX.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
http://www.windrvr.com
Remove StopSpam from the email to reply



"ramjohnny" <ramjohnny@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F3AD389B-9B7D-4E28-A9C6-1517C483FA8C@xxxxxxxxxxxxxxxx
When I search on the web for pointers on porting a 32 bit driver to 64
bit
I
get plenty of references to Intrinsic functions and masm files. But
there
is
no one source that has an example or a link for the relevant page.

I am typically looking to convert instructions like

mov ex, 10
mov dx, SMI_PORT;
out dx,al;

Thanks!
Ram
Driver Developer





.



Relevant Pages

  • Re: Rapport from installation of Ubuntu 7.10 on amd64
    ... This isn't done in Windows nor in Linux ... And when that dont work, bittourment and games, and seeing other apps written by other programmers, may help reengange some energy for the main task. ... But I told you to write your assembler in ... mov ebx Source ...
    (alt.lang.asm)
  • Re: How to Hook ZwReadVirtualMemory and ZwWriteVirtualMemory
    ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ... mov eax, cr0 ... mov nOldProtect, eax ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Driver sample with *.asm source
    ... That is the reference Ali refers to, worse yet the code itself was ... The guy knew assembler but he sure didn't know the windows device ... Don Burn (MVP, Windows DDK) ... Windows 2k/XP/2k3 Filesystem and Driver Consulting ...
    (microsoft.public.development.device.drivers)
  • Re: C# programmer wants to learn assembly?? plz help
    ... I found a few links to tutorials, but i dont know which ones the best ... seen assembler code that looks kinda like the C code i used to write. ... mov ax,seg message ... you want an example of a "real Windows program". ...
    (alt.lang.asm)
  • Re: New bee to Device Driver Development
    ... Most driver are written in pure C. ... So what you need is a C compiler and maybe an assembler. ... This should be included in the Windows 98/ME DDK, ...
    (microsoft.public.development.device.drivers)

Loading