gendb: ISA improvements