ack/plat/cpm/libsys/make_trap.sh

13 lines
97 B
Bash
Executable file

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