view bin/as86 @ 10691:da8e4731abdf

<oerjan> mkx bin/widsom//wisdom "$@" | sed \'s/\\<\\([^ ][^ ]\\)\\([^ ]\\)\\([^ ]\\)/\\1\\3\\2/g\'
author HackBot
date Sun, 16 Apr 2017 01:36:26 +0000
parents 7f957c1f4661
children
line wrap: on
line source

as="$1"; shift; echo ".intel_syntax noprefix; $as" | gcc "$@" -c -x assembler /dev/stdin -o /tmp/as86.o && objcopy -O binary /tmp/as86.{o,bin} && xxd -p /tmp/as86.bin