Re: Read TIOT and RDJFCB for each entry
Posted: Tue Mar 15, 2011 8:16 pm
Changing a program's AMODE from 24 to 31 often requires no change at all in the program, though if you're doing this look for constructs like ICM reg,7,... or ICM reg,B'0111',... where the register was not pre-cleared, usually to binary 0s. You may recall my comment about code that loaded a UCB address from the TIOT had a comment about a "minor" alteration was required for AMODE 31 operation; the ICM 7,B'0111', TIOEFSRT was the issue. Back when AMODE conversions were just starting we were told to look for constructions like LA reg,0(,reg). This used to be quite common, but you never see it any more, though you sometimes see N reg,=A(X'FFFFFF') or N reg,=X'00FFFFFF' in its place.