Operation-specific encoding in single-digit arithmetic