View previous topic :: View next topic
|
Author |
Message |
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
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 |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
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 |
|
|
satish.ms10
Active User
Joined: 10 Aug 2009 Posts: 184 Location: India
|
|
|
|
Thanks Steve. |
|
Back to top |
|
|
|