Brian <[EMAIL PROTECTED]> writes:

> I spent the last three days reading through all the archives.
> And I have no clue what I am doing wrong.  I only started down
> this road because of some of the other posters.  I figured I
> would give assembly a shot.

Why? Do you like pain?

> I read Assembly Step by Step, which is really geared toward
> DOS and linux, but it's a pretty good overview.  

Right. And i386 too I suspect, which is a different architecture than
amd64, but that just sounds like such a minor problem. There are
probably some alpha and sparc examples out there too, try them, they
might work.

Never mind that the way that code does syscalls is unsupported even on
i386. Never mind that the calling conventions on amd64 are different.
Never mind that you're using 32-bit pointers on a 64-bit architecture.
Never mind that the syscall entry point you're using shouldn't even be
there.

> From what I have read of the history, openBSD went from aout
> to ELF around 3.0 with the addition of some extra information.

Ah, yes. The painful switch from a.out to elf on amd64. Two years
before the first processors were released we had a flag day to deal
with all the legacy binaries out there.

You will find that the tolerance for people who like pain is slightly
low on these mailing lists. Find your pain somewhere else, please.

//art

Reply via email to