View previous topic :: View next topic |
Author |
Message |
somuk Beginner
Joined: 04 Feb 2003 Posts: 113 Topics: 37
|
Posted: Thu Mar 27, 2003 2:44 am Post subject: Assembler compilation |
|
|
Hi,
I'm learning Assebmbler . When I try to compile a small 'hello world' program I'm getting a compilation error.
My program :
Code: |
HELLO CSECT
USING *,15
SAVE 14,12,12(13)
LR 12,15
USING HELLO,12
DROP 15
WTO 'Hello world'
XR 15,15
RETURN (14,12)
END
|
Error Message :
Code: |
No Overriding ASMAOPT Parameters
No Overriding Parameters
No Process Statements
Options for this Assembly
NOADATA
ALIGN
NOASA
--------
---------..etc
|
Pl advice.
Thanks
-Somu |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Mar 27, 2003 8:57 am Post subject: |
|
|
Those are the STD msgs that are just saying you have not overridden any parameters. If it's failing, there are other ASMA___ prefixed msgs.
I would suggest adding ,ROUTCDE=11 to the WTO to keep the msgs off the console but in your JOBLOG.
Bill |
|
Back to top |
|
|
somuk Beginner
Joined: 04 Feb 2003 Posts: 113 Topics: 37
|
Posted: Fri Mar 28, 2003 3:23 am Post subject: |
|
|
Thank you for the reply Bill..
I was getting the following message
***ASMA300W USING overridden by a prior active USING on statement number 2 _________________ Regds,
Somu |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Fri Mar 28, 2003 8:55 am Post subject: |
|
|
Did you look up the msg? The msg explains that you need to DROP 15 before you USE 12 for the same location. Swap those two stmnts.
Bill |
|
Back to top |
|
|
somuk Beginner
Joined: 04 Feb 2003 Posts: 113 Topics: 37
|
Posted: Sat Mar 29, 2003 1:43 am Post subject: |
|
|
Thanks Bill.. It did work.. _________________ Regds,
Somu |
|
Back to top |
|
|
|
|