In a message dated 7/18/2005 7:31:40 A.M. Central Daylight Time,  
[EMAIL PROTECTED] writes:

A zap is  a zap. I see no difference in degree of difficulty patching one 
bit, 12  bits, or 16. The real problem with patching a literal is that it 
might be  referenced by more than one instruction.
 
Right.  There is no difference in difficulty.  My point was that  if the 
needed zap involves changing a constant of 4095 to 4096, then you can't  do it 
by 
zapping a 12-bit displacement in a LA instruction but you can do it if  
affected instruction is using a halfword, either as a literal or named.
 

>And  LHI is not available as a solution when you  are 
>writing code  that might execute on non-z/Arch. processors, of which there  
are  
>still just a few in existence.
>  
>

What????!  LHI was available *long* before z/Architecture!!

My error.  I never learned about it until I saw it in the z/Arch.  Princ. of 
Ops. book and thought it was new then.
 
Bill Fairchild

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to