Remove dependency on opcodes module and rely only on machine codes instead