view bin/as86 @ 4469:6fb5b20f9408

<oerjan> learn K K K Ken
author HackBot
date Wed, 19 Feb 2014 23:13:45 +0000
parents babb21fad534
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