Calculate _rom_size for the ROM prefix