#!/bin/bash # show what opcodes are represented by a given hex string # useful when trying to understand colorForth sources echo if the following disassembly doesn\'t make sense: echo make sure you\'ve reversed the bytes in a word or longword! echo $* | xxd -p -r > /tmp/objdump.tmp objdump --disassemble-all \ --target=binary \ --architecture=i386 \ --disassembler-options=intel \ /tmp/objdump.tmp