Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IBM debug tool - LIST,LIST STOR(),ZOOM MEM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
Arunkumar Chandrasekaran

New User


Joined: 01 Jun 2010
Posts: 63
Location: India

PostPosted: Sun Nov 17, 2013 4:31 pm    Post subject: IBM debug tool - LIST,LIST STOR(),ZOOM MEM
Reply with quote

Hi,

I am a learning assembler.To make my understandings clear I am seeing
Register, storage and its contents via IBM debug for each and every intructions.While doing so i had a little confusion.

Please take a example below.

Code:
LABEL  DC CL4'ARUN'
....
.....
.....

L  R3,LABEL

LA R4,LABEL


From my understandings After the above instructions R3 should contain 'ARUN' Since 'L' instruction loads the contents in the address.R4 should contain effective address of LABEL since 'LA' loads the effective address.

When I tried to confirm this in IBM Debug.When I am giving "LIST R4" in Debug command its showing the effective address of LABEL.

But when I give "LIST R3" it is showing some address.Then when I tried to Zoom the address using ZOOM MEM I could see ARUN is present.but when i give LIST R3 I am expecting ARUN but its showing the address where ARUN is present.I couldn't understand it.Please explain what is happening actually.

Also tell me the difference between LIST and LIST STOR() command in IBM debug.

Please correct me where I am wrong.
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Sun Nov 17, 2013 7:44 pm    Post subject:
Reply with quote

Is the address in R3 X'C1D9E4D5'? If so, that is the EBCDIC representation of ARUN and the register looks like it should You need to be aware that registers represent addresses, so loading text into one does NOT mean you can magically see the text -- you will see the hexadecimal representation of the EBCDIC characdters, not the actual characters.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX tool to extract all files starti... KeshavKunal CLIST & REXX 4 Tue Jul 21, 2020 3:43 pm
No new posts DEBUG COMMENT command not adding to log Harold Barnes IBM Tools 0 Fri Apr 24, 2020 12:55 am
No new posts Need help in REXX code to list the af... chavinash2004 CLIST & REXX 3 Wed Apr 01, 2020 12:53 pm
No new posts Extracting a list of ALL DSN's on an ... DaveV IBM Tools 14 Sun Feb 02, 2020 8:35 pm
No new posts Debug set up for COBOL module but ope... elixir1986 IBM Tools 1 Sun Dec 22, 2019 12:05 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us