(First, all of the replies to my last message have gone directly to me, not the list. I must have something set up incorrectly, but I don't know what. Try using "Reply All" if you want your response to me to also go to the listserv.)
Like usual I must be both confused and not explaining things very well. Let me give a very simple example. No LE involved, which seemed to cause some confusion about what I am asking. Take the following. Lines 11, 14, 16 and 17 all generate the same machine code: 4120 1002 [LA 2,2(0,1)]. 1 DSECTTST AMODE ANY 2 DSECTTST RMODE ANY 00000000 00000000 00000003 3 PARM1 DSECT , 00000000 4 P1LEN DS H 00000002 5 P1DATA DS C 6 * 00000000 00000000 00000028 7 DSECTTST START 0 00000000 90EC D00C 0000000C 8 STM 14,12,12(13) 00000004 4111 0000 00000000 9 LA 1,0(1) R:1 00000000 10 USING PARM1,1 00000008 4150 1002 00000002 11 LA 5,P1DATA 12 DROP 1 R:1 00000000 13 MYPARM USING PARM1,1 0000000C 4150 1002 00000002 14 LA 5,MYPARM.P1DATA 15 DROP MYPARM 00000010 4150 1002 00000002 16 LA 5,P1DATA-PARM1(,1) 00000014 4150 1002 00000002 17 LA 5,2(0,1) 00000018 98EC D00C 0000000C 18 LM 14,12,12(13) 0000001C 41F0 0000 00000000 19 LA 15,0 00000020 07FE 20 BR 14 I have, I believe, full understanding of 11, 14, and 17. But 16, as has been pointed out, looks like simple arithmetic. Oh wait, I think I'm seeing it. It's subtracting PARM1 (offset 0) from P1DATA (offset 2 in the same DSECT). OK. I was thinking that the PARM1 was somehow "qualifying" P1DATA, like my example in lines 13-14. I could just as well have specified P1DATA-P1LEN instead of P1DATA-PARM1. Got it. I was just trying to make more of it than it was. Sorry for being dense! Thanks! Frank >________________________________ > From: Frank Swarbrick <[email protected]> >To: [email protected] >Sent: Friday, July 27, 2012 5:18 PM >Subject: qualified DSECT > >I was going to call this "Basic ASM question", but that subject was already >used today. :-) > >I've been looking at the LE macros (CEEENTRY in particular) and notice that >instead of a USING, in general they use another method to refer to a DSECT and >the base register for it. > >Specifically, they do this: > STM 14,12,CEEDSAR14-CEEDSA(13) > L 1,CEEDSANAB-CEEDSA(,13) > >instead of, say, this: > USING CEEDSA,13 > STM 14,12,CEEDSAR14 > L 1,CEEDSANAB > >What is the term used for the first method? I'm trying to look it up in the >HLASM reference, but I don't know what keywords to search on! > >Thanks, >Frank > > >
