From 49ed8067e711ac15aade3fcf0b398392749b664a Mon Sep 17 00:00:00 2001 From: Marco Maccaferri Date: Mon, 25 Nov 2024 11:48:33 +0100 Subject: [PATCH] Added new Spin2 methods --- .../src/com/maccasoft/propeller/spin2/Spin2Bytecode.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Bytecode.java b/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Bytecode.java index 36abe1cd..1e38e0c6 100644 --- a/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Bytecode.java +++ b/modules/spin-tools/src/com/maccasoft/propeller/spin2/Spin2Bytecode.java @@ -443,10 +443,16 @@ public int getReturns() { descriptors.put("SETREGS", new Descriptor(bc_hub_bytecode, bc_setregs, 3, 0)); descriptors.put("BYTEMOVE", new Descriptor(bc_hub_bytecode, bc_bytemove, 3, 0)); descriptors.put("BYTEFILL", new Descriptor(bc_hub_bytecode, bc_bytefill, 3, 0)); + descriptors.put("BYTECOMP", new Descriptor(bc_hub_bytecode, bc_bytecomp, 3, 1)); + descriptors.put("BYTESWAP", new Descriptor(bc_hub_bytecode, bc_byteswap, 3, 0)); descriptors.put("WORDMOVE", new Descriptor(bc_hub_bytecode, bc_wordmove, 3, 0)); descriptors.put("WORDFILL", new Descriptor(bc_hub_bytecode, bc_wordfill, 3, 0)); + descriptors.put("WORDCOMP", new Descriptor(bc_hub_bytecode, bc_wordcomp, 3, 1)); + descriptors.put("WORDSWAP", new Descriptor(bc_hub_bytecode, bc_wordswap, 3, 0)); descriptors.put("LONGMOVE", new Descriptor(bc_hub_bytecode, bc_longmove, 3, 0)); descriptors.put("LONGFILL", new Descriptor(bc_hub_bytecode, bc_longfill, 3, 0)); + descriptors.put("LONGCOMP", new Descriptor(bc_hub_bytecode, bc_longcomp, 3, 1)); + descriptors.put("LONGSWAP", new Descriptor(bc_hub_bytecode, bc_longswap, 3, 0)); descriptors.put("STRSIZE", new Descriptor(bc_hub_bytecode, bc_strsize, 1, 1)); descriptors.put("STRCOMP", new Descriptor(bc_hub_bytecode, bc_strcomp, 2, 1)); descriptors.put("STRCOPY", new Descriptor(bc_hub_bytecode, bc_strcopy, 3, 0));