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

Need Help on Assembler Code


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Mon Aug 04, 2014 3:56 pm
Reply with quote

Hi All,

I am working on an Assembler program. I am unable to understand the functionality of the below code.

Code:

 RP       EQU   X'00',12,C'C'
 RPNUM    EQU   X'00',08,C'C'
 RPPTR    EQU   X'08',04,C'F'
 RPEX     EQU   X'0C',04,C'F'


Could someone help me in this regard.

Thanks in advance.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Mon Aug 04, 2014 5:18 pm
Reply with quote

Unfortunately, the EQU instruction has been heavily changed over time, to the point where some of its uses have become nearly incomprehensible even to us graybeards that have lived through the changes. This is true for the uses you're showing. The value of the second and third operands of the your EQU instructions when the first operand specifies an absolute value is very limited.

The purpose of these forums is not to provide a tutorial on the ins and outs of the EQU Assembler instruction, which is what you're really asking for here. You need to spend some time reading the section on the EQU Assembler instruction in the HLASM V1R6 Language Ref manual. Granted, this is not a tutorial, but all someone could do to respond to your query is to copy (or perhaps paraphrase) that section of the manual here, which would be a clear violation of the manual's copyright, and also violates the forum's standards for posts. In other words, it is not possible to post a meaningful response to your query.
Back to top
View user's profile Send private message
satish.ms10

Active User


Joined: 10 Aug 2009
Posts: 184
Location: India

PostPosted: Wed Aug 06, 2014 3:03 pm
Reply with quote

Thanks Steve.
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Monitoring production job progress. N... JCL & VSAM 4
Search our Forums:

Back to Top