On Thu, 23 Mar 2006 15:10:47 UTC, bo774@[EMAIL PROTECTED]
(Kelly
Bert Manning) wrote:
> "John Small" (zjsmallz@[EMAIL PROTECTED]
) writes:
> >
> > So if the OP was trying to find a bug in this code that was causing
> > overruns, then the bug may be that this code does not ensure that R14
> > has a valid length (1-16 on entry, 0-15 after the BCTR) for a source
> > field.
>
> Actually, the odd behaviour is that it wasn't looping...
What loop? I don't see one in the code.
> when passed a c'03' value, ...
?? The only data used by this code segment are:
R14 : presumably the length of the character data to be PACK'ed
R15 : presumably the address of the character data to be PACK'ed
MULTSEC : presumably a Halfword containing a conversion factor of
some kind.
=H'2' : a Halfword value of 2 (unless it has been overwritten)
It would be helpful to see the code which loads R14 and R15 and the
code between load and the code in your original post.
--
John Small
(remove the z's for email address)


|