CATTR usage

2020-11-22 Thread Joe Reichman
Asking a few questions to see I understand the usage of CATTR Would I uses a CATTR assembler instruction if for example My program CSECT is RMODE 31 And if I am doing I/O in 24 bit mode I would define a class rmode 24 Would the binder take the piece of code and mov

Re: CATTR usage

2020-11-22 Thread Jonathan Scott
Ref: Your note of Sun, 22 Nov 2020 11:35:41 -0500 Joe Reichman writes: > Asking a few questions to see I understand the usage of CATTR > ... CATTR is managed in the same way as other location counters such as CSECT and LOCTR. With GOFF, each new CSECT statement starts an element whose class na

Re: CATTR usage

2020-11-22 Thread Joseph Reichman
Thanks I seen it with METAL C using far pointers The only reason I can imagine the use of class is for using the Q con to get an offset As I think Q con only supports DSECT DXD or sections in class names Thanks > On Nov 22, 2020, at 12:04 PM, Jonathan Scott > wrote: > > Ref: Your no

CATTR for SRB code

2020-11-22 Thread Joe Reichman
Hi I wrapped my SRB code around a CATTR since it going to be moved my question now is to reference the starting address is that a V con or A con thanks

CATTR and XATTR

2020-11-22 Thread Joe Reichman
Hi I have SRB code in my Assembly which I segregated with a CLASS via CATTR In that SRB routine I am calling CSRC4BLD statically i.e with a VCON Since I am going to move this code to CSA I would like the =V(CSRC4BLD) to be in the same class where I defined my SRB so when I MVCL the clas

Re: CATTR and XATTR

2020-11-22 Thread Keven Hall
If your SRB code needs to be in common storage, maybe an better solution might be to put it in a separate module and issue a global or a directed LOAD (according to your requirements for module persistence) to put it there. That will also obviate any need to adjust AdCons during relocation from

Re: CATTR and XATTR

2020-11-22 Thread Joseph Reichman
It would seem to me that if CATTR segregates the code I should be able to dine how put the external reference for CSR4BLD in that class Thanks > On Nov 22, 2020, at 10:01 PM, Keven Hall wrote: > > If your SRB code needs to be in common storage, maybe an better solution > might be to put i

Re: CATTR and XATTR

2020-11-22 Thread Keven Hall
Any VCon or ACon moved along to CSA with the SRB code will refer to locations in your private area and probably would not resolve satisfactorily in the addres space the SRB is scheduled for execution Keven > On Nov 22, 2020, at 21:05, Joseph Reichman wrote: > > It would seem to me that if

Re: CATTR and XATTR

2020-11-22 Thread Joseph Reichman
I thought the point of the CATTR is to allow to put pieces of code such as the external module CSRC4BLD in the same class > On Nov 22, 2020, at 10:35 PM, Keven Hall wrote: > > Any VCon or ACon moved along to CSA with the SRB code will refer to > locations in your private area and probably