From: "Steve Smith" <sasd...@gmail.com>
Sent: Friday, July 20, 2018 2:26 AM


An issue I raised on IBM-MAIN led to discussing how to round an address to
a 16-byte (quad-word) boundary.  The C example included the expression
<code>p &= -16;</code>.

Won't this truncate, not round?
You'd need to add 15 and then "and".

 I suggested that the NILL & NILF instructions
could handle this, but probably wouldn't.  So...

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Reply via email to