There are books on Linux assembler programming,  for example: Linux
Assembly Language Programming by Bob Nevlen. However this book and similar
ones assume you're on x86. So you need to adapt what you're reading. Having
said that, most assembly code is written by dropping into in-line assembler
in gcc c-code - and I warn you the syntax is taxing. Info gcc will get you
going.
Another possibility is to use nasm (or yasm) - now I'm not sure whether
this is ported to s390. It's certainly a native assembler for x86 and based
in look and feel on MS masm.

And don't forget gas - the gnu assembler.

All of these suggestions are based on my experience with x86 assembler
programming. For s/390 I don't assemble under Linux. I use HLASM under CMS.

The may be other preferred tools for native Linux 390 assembly programming.

Richard

- -
Richard J Moore - FIET, FBCS, CEng, CITP
IBM z/VM CP Development
Member of the IBM Academy of Technology
http://www-03.ibm.com/ibm/academy/index.html

MOBEX: 37264807; Mobile (+44) (0)7739-875237
Office: (+44) (0)1962-817072

Linux on 390 Port <[email protected]> wrote on 19/11/2009 16:13:33:

> From:
>
> [email protected]
>
> To:
>
> [email protected]
>
> Date:
>
> 19/11/2009 16:31
>
> Subject:
>
> assembler and LINUX
>
> Hello !
> I am an experienced assembler programmer, BUT I do not have any clue how
> to write , assemble  etc. in  LINUX  ,   where do I start   ??   Any help
> is appreciated . Thanks Gunter
>
>
>
> Email             [email protected]
>
> -----------------------------------------
> The information contained in this communication (including any
> attachments hereto) is confidential and is intended solely for the
> personal and confidential use of the individual or entity to whom
> it is addressed. If the reader of this message is not the intended
> recipient or an agent responsible for delivering it to the intended
> recipient, you are hereby notified that you have received this
> communication in error and that any review, dissemination, copying,
> or unauthorized use of this information, or the taking of any
> action in reliance on the contents of this information is strictly
> prohibited. If you have received this communication in error,
> please notify us immediately by e-mail, and delete the original
> message. Thank you
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO LINUX-390 or
visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to