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.
LABEL DC CL4'ARUN'
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.
Joined: 06 Jun 2008 Posts: 8449 Location: Dubuque, Iowa, USA
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.