> -----Original Message-----
> From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On 
> Behalf Of Nageswara R Sastry
> Sent: Thursday, March 29, 2007 3:03 AM
> To: [email protected]
> Subject: How to start with zLinux assembly programming
> 
> 
> Hi,
> 
> How to start with zLinux assembly programming language. Where 
> to get the 
> information like what are the tools required and information 
> about the 
> general purpose, control, access & floating point registers.
> This information is for learning purpose. I searched internet 
> but didn't 
> get any information. Please help me.
> 
> Thanks in advance.
> 
> 
> Best Regards,

Well, personally, I'd likely not do any "pure" assembly writing on
z/Linux. Did you know that you could imbed assembler in C and C++ source
code with the GNU C compiler? That's what it seems to me that the Linux
kernel people do, in the main.

If you want to look at z/Linux assembler, I would suggest getting the
kernel source for s/390 and start looking at files in the arch/s390
subdirectory. The assembler source ends in .S

The Linux kernel source is nicely on line at:
http://lxr.linux.no/source/?a=s390

If you need to learn the instruction set for the zSeries, then "The
Principles of Operation" is the only definative source. You can read it
at:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/XKS/DZ9ZBK05

Depending on other factors, such as money, you might want to invest in
the Dignus Systems/ASM product. This is a different assembler than the
GNU assembler, "gas". The plus is that the source is compatable with the
IBM High Level Assembler which is used on z/OS and the other z/...
operating systems, including z/VM. That leverages your knowledge to
other systems. The syntax for "gas" is truly weird, IMO.

http://dignus.com/dasm/

This product is not free. And it does require a yearly maintenance fee
as well. So that may be a consideration. I don't know the current costs.
I have read that there is a hobbist license that is probably very
reasonable.

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

----------------------------------------------------------------------
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