Add translation of 'cmp type' code