I would go directly to your %kNN form. (Though I'd prefer %zNN as more mnemonic since Z often represents the integers as R represents the reals in %r1 etc.) And perhaps %nNN for the natural numbers if needed? I assume your %kNN's are declared as integers. -s