ac/debug: take ASIC generation into account when printing registers