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

IBM debug tool - LIST,LIST STOR(),ZOOM MEM


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Nov 17, 2013 7:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Mass JCL release via IDZ tool(eclipse... CA Products 1
No new posts list pds members name starting with xyz CLIST & REXX 11
Search our Forums:

Back to Top