Re: [Dorset] Linux Assembly Programming.

2010-11-12 Thread Dan Dart
Go ask mike.saund...@futurenet.com

and look at his x86 OS assembler project:
mikeos.berlios.de

--
Next meeting:  Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Linux Assembly Programming.

2010-11-12 Thread Ralph Corderoy

Hi Brian,

> Are there any members using assemble in Linux? As I rather fancy
> getting back into some real programming and any advise would be
> appreciated.

For x86?  The initial thing is to realise there's two main syntaxes,
AT&T and Intel.  Intel x86 is found outside Unix, e.g. DOS.  AT&T has
spread from non-x86 and has some advantages but it back-to-front for
someone used to Intel.

gas(1) is AT&T, although I think it takes Intel too these days.  nasm(1)
is Intel.  Here's a comparison of the two assemblers, and the HOWTO is
oldie-but-goody.

http://www.ibm.com/developerworks/linux/library/l-gas-nasm.html
http://www.faqs.org/docs/Linux-HOWTO/Assembly-HOWTO.html

You may find this implementation of FORTH in x86 interesting, both
from the FORTH and the x86 point of view.

http://www.annexia.org/forth

Cheers,
Ralph.


--
Next meeting:  Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue