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 

Would you please explain this assembler code?

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


Joined: 31 Jan 2006
Posts: 255
Topics: 72

PostPosted: Tue Jun 03, 2008 11:20 am    Post subject: Would you please explain this assembler code? Reply with quote

Hi,

Would you please explain this assembler code?

Code:

10       CLC   0(12,RX),0(RY)
         BE    20             
         BL    30             
         BH    40             
*                             
20       BAL   KEEP(RX)       
         B     DELETE(RX)     
*                             
30       B     DELETE(RX)     
*                             
40       B     DELETE(RY)     
*                             
EOFX     B     EOF           
*                             
EOFY     B     EOF           
*                             
         END                 
*                             


I will be very glad if you can suggest alternatives to the above because I don't know assembler.

TIA.
_________________
Ranga
*****
None of us is as smart as all of us - Ken Blanchard
Back to top
View user's profile Send private message
tcurrier
Intermediate


Joined: 10 Feb 2006
Posts: 188
Topics: 68

PostPosted: Fri Aug 29, 2008 3:41 pm    Post subject: Reply with quote

It is coding that attempts to balance your online banking statement.
Other than trying to convert it to COBOL, I would suggest contacting your
local bank.
Back to top
View user's profile Send private message
hchinnam
Beginner


Joined: 04 Feb 2005
Posts: 31
Topics: 10

PostPosted: Tue Sep 02, 2008 2:30 am    Post subject: Reply with quote

It compares 12 bytes of data at address RX to 12 bytes of data at RY. and based on result it executes set of instructions. (As per your post, I am not sure what your keep or delete does)

Can you explain your requirement a bit clearly? I can't understand what you are asking about alternative.
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