ack/plat/cpm/libsys/make_trap.sh

13 lines
97 B
Bash
Raw Normal View History

#!/bin/sh
cat <<EOF
#
#include "asm.h"
.define $1
$1:
lxi h, $2
push h
call .trp
ret
EOF