if ( $oc gt 10000 ) { print "Overflow detected at line $count:\n"; printf("%x\n",$data); printf("%x\n",$buff); }