Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly 370 > Re: PACK with e...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 7 Topic 273 of 328
Post > Topic >>

Re: PACK with explicit zero length for second operand

by "John Small" <zjsmallz@[EMAIL PROTECTED] > Mar 24, 2006 at 11:43 AM

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)
 




 7 Posts in Topic:
PACK with explicit zero length for second operand
bo774@[EMAIL PROTECTED]   2006-03-22 03:40:58 
Re: PACK with explicit zero length for second operand
"John Small" &l  2006-03-22 11:28:07 
Re: PACK with explicit zero length for second operand
glen herrmannsfeldt <g  2006-03-22 04:35:47 
Re: PACK with explicit zero length for second operand
"John Small" &l  2006-03-23 12:08:25 
Re: PACK with explicit zero length for second operand
bo774@[EMAIL PROTECTED]   2006-03-23 15:10:47 
Re: PACK with explicit zero length for second operand
"John Small" &l  2006-03-24 11:43:42 
Re: PACK with explicit zero length for second operand
"robin" <rob  2006-03-26 13:03:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 1:07:00 CDT 2008.