diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-06-27 13:00:19 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-06-27 13:00:19 +0300 |
| commit | 6aefc5167a64e05580dcf1afc70efa496ed145ac (patch) | |
| tree | 57032839fd8f5f748b273c679f3766c6911bbca5 /ops/li/generic | |
| parent | e80d3758a37848cda7990e8eff68ed9df344afa4 (diff) | |
| download | copyjit-6aefc5167a64e05580dcf1afc70efa496ed145ac.tar.gz copyjit-6aefc5167a64e05580dcf1afc70efa496ed145ac.zip | |
add immediate loading
Diffstat (limited to 'ops/li/generic')
| -rw-r--r-- | ops/li/generic/lia.c | 9 | ||||
| -rw-r--r-- | ops/li/generic/lio.c | 9 | ||||
| -rw-r--r-- | ops/li/generic/lix.c | 9 | ||||
| -rw-r--r-- | ops/li/generic/liy.c | 9 |
4 files changed, 36 insertions, 0 deletions
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); +} |
