Re: Driver sample with *.asm source
- From: "Gary G. Little" <gary.g.little@xxxxxxxxxxx>
- Date: Thu, 8 Jun 2006 13:07:23 -0500
Cripes, if you want to see assembly used in a driver, simple set
"USER_C_FLAGS = -FAcs" in your sources file and then load the resulting .COD
file in to your editor du jour. Some variation of -FAcs will give you the
assembly language itself if you don't want the pesky C.
The question is why do you want to do this? Nearly every reason I have seen
for using assembly in the kernel has proven to be falacious and mostly a
result of a severe misunderstanding of kernel mode. If the thread Ali
references is the one I'm thinking of, it was started by a kinder-gartner
who thought assembly was much more elegant than C. Unfortunately, those of
us who started when only assembly was available for programming anything,
unless you wanted to use COBOL, laughed our asses off.
--
The personal opinion of
Gary G. Little
"Ali" <abdulrazaq@xxxxxxxxx> wrote in message
news:1149782340.556257.151420@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Peter wrote:
Can I find somewhere *.sys driver sample which uses minimally one *.asm
source and for it's compilation is used MASM ?
Peter
I remember reading an article for asm driver but can't find it now,
it might be possible that site admin has removed that article.
The details of that article are given below hope you can search it on
web;-)
Name: Kernel Mode Driver Tutorial for MASM32 Programmers - Part 1 -
The Basics Abstract Four-F
URL:http://www.assembly-journal.com/index.php
ali
.
- Follow-Ups:
- Re: Driver sample with *.asm source
- From: Peter
- Re: Driver sample with *.asm source
- From: Don Burn
- Re: Driver sample with *.asm source
- References:
- Re: Driver sample with *.asm source
- From: Ali
- Re: Driver sample with *.asm source
- Prev by Date: Re: Parallel Port Driver
- Next by Date: Re: Driver sample with *.asm source
- Previous by thread: Re: Driver sample with *.asm source
- Next by thread: Re: Driver sample with *.asm source
- Index(es):
Relevant Pages
|