From 422b6c976e28445d2a6e14586fa416b0f16c093f Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sat, 24 Jun 2023 20:48:32 +0300 Subject: initial commit --- ops/li/gen_li.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 ops/li/gen_li.sh (limited to 'ops/li/gen_li.sh') diff --git a/ops/li/gen_li.sh b/ops/li/gen_li.sh new file mode 100755 index 0000000..a844de4 --- /dev/null +++ b/ops/li/gen_li.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +for i in $(seq 0 255); do + filename=li"$i".c + echo "#include \"../common.h\"\n" \ + "DEFINE_OP(li$i) {" \ + "UNUSED(o);" \ + "NEXT_OP(sp, a, x, y, $i);" \ + "}" > "$filename" +done -- cgit v1.3