[comp.lang.asm370] Assembly Problem Solved

news@LLL-WINKEN.LLNL.GOV (DeWitte Wilson) (06/28/91)

The problem I was having with tape block sizes has been solved.  Thanks to
those of you who responded, especially Dwayne Blumenberg.

The problem, to be more specific was that I was trying to define a file
with a blocksize of 19600.  The system wouldn't allow this, so I changed
the blocking on the tape down to 1568 (reclen is 196).  This worked great
until I defined a few more storage areas to manipulate data, suddenly
I was getting Addressability Errors (just like before I lowered the
block size).  To fix the problem, I have moved the IO buffer areas to the
very bottom of the program, past all of the variables, and I added an LTORG
statement.  Now, I'm back up to a block size of 19600 again, and the
program is working great, although I'm not quite sure what was so magical
about moving the buffers and adding the extra statement.

Another question I'll ask is - how are registers to be addressed?  I've
seen them coded as R1, REG1, and just plain 1 - is there any standard, or
is it merely up to the programmer for readability?

Thanks -
       - DeWitte (wilso_d@cs.odu.edu)

tierney@nevada.edu (TIM TIERNEY) (06/29/91)

In article <9106280011.AA14893@ucbvax.Berkeley.EDU> IBM 370 Assembly Programming Discussion List <ASM370@OHSTVMA.BITNET> writes:
>
>Another question I'll ask is - how are registers to be addressed?  I've
>seen them coded as R1, REG1, and just plain 1 - is there any standard, or
>is it merely up to the programmer for readability?
>

There is really no hard and fast "standard" regarding this, but there does
seem to be one particular way in which a significant number of people refer
to registers in BAL programs (IBM for one).  The R1-R15 designation seems
to be the most prevalent.  Certainly it the one I've seen used the most, and
the one which I have always used.

Tim Tierney

tierney@APPLE.COM (TIM TIERNEY) (06/29/91)

In article <9106280011.AA14893@ucbvax.Berkeley.EDU> IBM 370 Assembly
        Programming Discussion List <ASM370@OHSTVMA.BITNET> writes:
>
>Another question I'll ask is - how are registers to be addressed?  I've
>seen them coded as R1, REG1, and just plain 1 - is there any standard, or
>is it merely up to the programmer for readability?
>

There is really no hard and fast "standard" regarding this, but there does
seem to be one particular way in which a significant number of people refer
to registers in BAL programs (IBM for one).  The R1-R15 designation seems
to be the most prevalent.  Certainly it the one I've seen used the most, and
the one which I have always used.

Tim Tierney