View previous topic :: View next topic
|
Author |
Message |
thanoozm
New User
Joined: 23 May 2007 Posts: 26 Location: hyderabad
|
|
|
|
Hi All,
Thanks for your help. I have changed register loading, now it is working fine.
Thanks to robert and bill. |
|
Back to top |
|
|
thanoozm
New User
Joined: 23 May 2007 Posts: 26 Location: hyderabad
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Well you can access locations like that, e.g. the CVT.
But its readable not writeable. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
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 |
|
|
thanoozm
New User
Joined: 23 May 2007 Posts: 26 Location: hyderabad
|
|
|
|
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 |
|
|
|