view bin/as86 @ 7203:118d8bf4095a

<oerjan> le/rn sparta/WE. DON\'T. KNOW. ANYTHING. ABOUT. SPARTA!
author HackBot
date Mon, 14 Mar 2016 04:57:46 +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