change ARM instructions to set flags