[plug] Re: Assembler waffle

Leon Brooks leonb at bounce.networx.net.au
Wed Nov 17 12:26:56 WST 1999


Peter Wright wrote:
> On Tue, Nov 16, 1999 at 03:54:41PM +0800, Leon Brooks wrote:
>> Christian wrote:
>> The first thing that they'd make you do on the Windows machine is
>> include windows.h

> .. for an assembly program? *confused*

> Although I haven't written any assembly for a loonng time, maybe x86
> assembly has an #include directive now :).

It always has had, although previously without the leading #.
Windows-based assemblers know enough about the C preprocessor to use the
symbols. I think later the windows.h had a specific ASM version spun off
(generated) from it but it's been a while since I've had to use either.
What a shame. (-:

> PS. I thought nasm was supposed to be a considerably superior
> assembler to gas... I recall reading a Linux Journal article on
> assembly programming a while back which strongly recommended it.

But gas comes with everything. It's as free as, um, air?

> "There are a billion people in China. And I want them to be able to pass notes
> to each other written in Perl. I want them to be able to write poetry in Perl.

> That is my vision of the Future. My chosen perspective."

>   -- Larry Wall (Open Sources, 1999 O'Reilly and Associates)

PERL already looks kind of like Chinese... (-:


More information about the plug mailing list