Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need Help on Assembler Code

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

Active User


Joined: 10 Aug 2009
Posts: 158
Location: India

PostPosted: Mon Aug 04, 2014 3:56 pm    Post subject: Need Help on Assembler Code
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 User


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

PostPosted: Mon Aug 04, 2014 5:18 pm    Post subject:
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: 158
Location: India

PostPosted: Wed Aug 06, 2014 3:03 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What is the code in CLIST to enable t... jackzhang75 CLIST & REXX 1 Fri Dec 02, 2016 3:02 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us