At 18:38 -0500 on 05/05/2015, Chuck Arney wrote about Re: LNKEDT
64-bit mode assembler in AMODE 31:
I believe what he is saying Steve, is that his table access
subroutine is called once for each record. Another routine does the
I/O and passes him the buffer address. Therefore, his AMODE 64
subroutine must exit in the caller's AMODE each time thus requiring
the mode switches. Mr/MS Brite, please correct this assumption if
it is incorrect.
If the I/O routine were altered to signal that this is the last
record then the AMODE 64 routine can buffer X records, switch to
AMODE 64 and flush the buffer, and then resume. As it is buffering it
stays in AMODE 31 and just moves the passed record to its buffer
area. The "last record" signal is to flush the buffer before it is
full.