> This statement about 20-bit displacements appears to be incorrect. Any 
> attempt to specify an implicit "address" outside the range of a 12-bit 
> displacement generates msgASMA307E.

I did some experimenting by adding LABELs to the usings and explicitly 
qualifying the operands to the OIY instruction.  It still failed with the same 
error.  

It then occurred to me that the range of normal usings and labeled usings are 
clearly documented as 4 KB maximum.  Only the dependent using mentions the 
20-bit displacement.  But this is a catch-22.  I'm not sure you can use it, but 
TinyArea can be 8000 bytes:
      
                      0000F          17+R15      EQU   15                 
                 R:4  00000          18 lbig     USING BigArea,R4         
000000 EB80 4FA0 0056 00FA0          19          OIY   lbig.Byte,Bit      
               4 FA0  00000 00FA0    20          USING TinyArea,lbig.Byte 
000006 EB80 4EE0 0256 01F40          21          OIY TinyFlag,Bit         
000000                00000 00FA8    22 BigArea  DSECT ,                  
000000                               23          DS 4000X'00'             
000FA0                               24 Byte     DS    XL1                
                      00080          25 Bit       EQU   X'80'             
000FA1                               26          DS    XL7                
000000                00000 01F41    27 TinyArea DSECT ,                  
000000                               28          DS 8000X'00'             
001F40                               29 TinyFlag DS   XL1                 
                                     30          END   ,                  

Regards, Tom 

G. Tom Russell 
“Stay calm. Be brave. Wait for the signs” — Jasper FriendlyBear
“… and remember to leave good news alone.” — Gracie HeavyHand 

Reply via email to