view bin/as86 @ 9565:acff4cf8b291

<oerjan> mkx bin/icao//grep "$1" share/airports.dat | cut -d \',\' -f 6
author HackBot
date Sun, 30 Oct 2016 23:16:00 +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