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 Member


Joined: 30 Nov 2013
Posts: 516
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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm


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