view bin/as86 @ 10187:9abd6f75c733

<oerjan> le//rn lazy//la
author HackBot
date Sun, 29 Jan 2017 10:25:14 +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