From 6aefc5167a64e05580dcf1afc70efa496ed145ac Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 27 Jun 2023 13:00:19 +0300 Subject: add immediate loading --- ops/li/generic/lia.c | 9 +++++++++ ops/li/generic/lio.c | 9 +++++++++ ops/li/generic/lix.c | 9 +++++++++ ops/li/generic/liy.c | 9 +++++++++ 4 files changed, 36 insertions(+) create mode 100644 ops/li/generic/lia.c create mode 100644 ops/li/generic/lio.c create mode 100644 ops/li/generic/lix.c create mode 100644 ops/li/generic/liy.c (limited to 'ops/li/generic') diff --git a/ops/li/generic/lia.c b/ops/li/generic/lia.c new file mode 100644 index 0000000..7fc1d3d --- /dev/null +++ b/ops/li/generic/lia.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: copyleft-next-0.3.1 */ + +#include "../../common.h" + +DEFINE_OP(lia) +{ + UNUSED(a); + NEXT_OP(sp, IMM(), x, y, o); +} diff --git a/ops/li/generic/lio.c b/ops/li/generic/lio.c new file mode 100644 index 0000000..efab25b --- /dev/null +++ b/ops/li/generic/lio.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: copyleft-next-0.3.1 */ + +#include "../../common.h" + +DEFINE_OP(lio) +{ + UNUSED(o); + NEXT_OP(sp, a, x, y, IMM()); +} diff --git a/ops/li/generic/lix.c b/ops/li/generic/lix.c new file mode 100644 index 0000000..f603bb5 --- /dev/null +++ b/ops/li/generic/lix.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: copyleft-next-0.3.1 */ + +#include "../../common.h" + +DEFINE_OP(lix) +{ + UNUSED(x); + NEXT_OP(sp, a, IMM(), y, o); +} diff --git a/ops/li/generic/liy.c b/ops/li/generic/liy.c new file mode 100644 index 0000000..03e3ad6 --- /dev/null +++ b/ops/li/generic/liy.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: copyleft-next-0.3.1 */ + +#include "../../common.h" + +DEFINE_OP(liy) +{ + UNUSED(y); + NEXT_OP(sp, a, x, IMM(), o); +} -- cgit v1.3