IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Assembler programe is abending in divide instruction


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
thanoozm

New User


Joined: 23 May 2007
Posts: 26
Location: hyderabad

PostPosted: Sun Dec 06, 2009 1:53 pm
Reply with quote

Hi All,

Thanks for your help. I have changed register loading, now it is working fine.


Thanks to robert and bill.
Back to top
View user's profile Send private message
thanoozm

New User


Joined: 23 May 2007
Posts: 26
Location: hyderabad

PostPosted: Sun Dec 06, 2009 3:00 pm
Reply with quote

Hi Robert,

Where can i see the memory location 00000072 and it's values. I am searching for that and i didn't find. I find the R3 value and i couldn't find the memory value, This for know the things.

problem is resolved, thanks for your help.

Thanks,
Thanooz.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Dec 06, 2009 6:30 pm
Reply with quote

Low memory locations are reserved for use by the operating system -- using location 00000072 should only be done by the system; if your registers are pointing there then it is a problem. You usually don't see them in a dump since they are rarely relevant to an application abend.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sun Dec 06, 2009 7:31 pm
Reply with quote

Well you can access locations like that, e.g. the CVT.
But its readable not writeable.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Dec 06, 2009 11:54 pm
Reply with quote

Hello,

So, unless the code references system data areas (i.e. control blocks), 72 is not going to be a proper address for the code to reference.

However, registers contain "things" other than addresses. . . Length, count, displacement, etc. . .
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Dec 07, 2009 1:06 pm
Reply with quote

The address off R3 is in the operating system's area. You don't need to see the contents to know that that's not where you should be addressing.
Your literals appear to be based off R3 at low locations. What is your base register for the program and why are these values not at offsets from that base?

Garry.
Back to top
View user's profile Send private message
thanoozm

New User


Joined: 23 May 2007
Posts: 26
Location: hyderabad

PostPosted: Mon Dec 07, 2009 1:44 pm
Reply with quote

Hi Garry,

I have used R3 for variable 'EXPLP` field length of 2 bytes that is declared in CSECT area. After that LTORG is started, So all literals are used as r3 and offset. I have removed variable from CSECT and declared in DSECT, it has worked. EXLP is external to this module.

Thanks,
Thanooz
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts How Can I Recall a Migrated Data Set ... PL/I & Assembler 3
No new posts step by step trace 4 ISPF dialog call... TSO/ISPF 17
No new posts Getting SOC4 while calling a Cobol DB... PL/I & Assembler 4
Search our Forums:

Back to Top