Automatic instruction modification on ‘DEUCE’