call-151 is a script for interactively exploring x86 ModRM, SIB, REX, VEX, and EVEX encodings.

#!/bin/sh
# deps: sudo apt-get -y install binutuls xxd
T=$(mktemp XXXXX); echo $* | xxd -r -p - &gt; $T
objdump -D -bbinary -mi386:x86-64 $T | \
sed -n '/&lt;.data&gt;:/{n;p;n;p}' ; rm -f $T https://t.co/eOgXB9C8M9