title: How to tell length of an x86-64 instruction opcode using CPU itself?
body: <p>I know that there are <a href="https://github.com/intelxed/xed" rel="noreferrer">libraries</a> that can "parse" binary machine code / opcode to tell the length of an x86-64 CPU instruction.</p>
  
  <p>But I'm wondering, since CPU has internal circuitry to determine this, is there a way to use processor itself to tell the instruction size from a binary code? (Maybe even a hack?)</p>