How do we represent machine instructions efficiently?

We use opcodes which are unique identifiers.