View previous topic :: View next topic |
Author |
Message |
rnanavaty Beginner
Joined: 12 Apr 2006 Posts: 29 Topics: 20
|
Posted: Thu Mar 01, 2007 12:44 am Post subject: Address constant - Assembly |
|
|
In one of my program I am getting steps like :
GHPD&TYPE.03 DC C'T'
DC AL3(1)
DC A(2)
I am well aware about addresses like
DC A(SCITY-SDATES)
Where SCITY and SDATES are variables in a copybook but what is the sense when constant is inside the ACON and length of ACON is also altered. |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Thu Mar 01, 2007 9:42 am Post subject: |
|
|
It is an easier method of creating a 3 byte literal. Compare these two examples to get the same thing: Code: | ONE DC AL3(3)
TWO DC X'000003' |
_________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
|
|