MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

new to assembler....plz explain the flow of this code.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
abhishek_snn
Beginner


Joined: 24 Aug 2006
Posts: 16
Topics: 5

PostPosted: Thu Jul 12, 2007 9:06 am    Post subject: new to assembler....plz explain the flow of this code. Reply with quote

START 0
REGS
BEGIN BEGIN
WTO 'TEACH4A
Back to top
View user's profile Send private message
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Thu Jul 12, 2007 10:29 am    Post subject: Reply with quote

After the Branch And Link, R10 contains the address of the instruction after the BAL (used for returning).
The label "MAIN" has an address EQUivalent to "here". Normally control goes to the next consecutive address. The EQU * could even be used for data manipulation in addition to branching.
Back to top
View user's profile Send private message
abhishek_snn
Beginner


Joined: 24 Aug 2006
Posts: 16
Topics: 5

PostPosted: Thu Jul 12, 2007 11:19 pm    Post subject: Reply with quote

Thanks CICS guy. Things are clearer now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group