From 4381b8217ff3010798ddc42a38008c84bae98a8c Mon Sep 17 00:00:00 2001 From: Matthew Andres Moreno Date: Wed, 16 Oct 2024 17:21:44 -0400 Subject: [PATCH 1/2] Bump conduit pin --- third-party/conduit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third-party/conduit b/third-party/conduit index a1766059..8d38e79d 160000 --- a/third-party/conduit +++ b/third-party/conduit @@ -1 +1 @@ -Subproject commit a1766059862f844615a386f3322664a44699ddbc +Subproject commit 8d38e79d9c788761af42c8634dae4ace59a12aeb From bde5b86aac7ff638a5d09b7de707c83428fb9fe5 Mon Sep 17 00:00:00 2001 From: Matthew Andres Moreno Date: Wed, 16 Oct 2024 17:30:46 -0400 Subject: [PATCH 2/2] Add JumpToIndex member on Core --- include/sgpl/hardware/Core.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sgpl/hardware/Core.hpp b/include/sgpl/hardware/Core.hpp index 61f46544..72425e64 100644 --- a/include/sgpl/hardware/Core.hpp +++ b/include/sgpl/hardware/Core.hpp @@ -95,6 +95,8 @@ class Core { if ( res.size() ) program_counter = local_jump_table.GetVal( res.front() ); } + void JumpToIndex(const size_t idx) noexcept { program_counter = idx; } + inline auto& GetLocalJumpTable() noexcept { return local_jump_table; } inline auto& GetGlobalJumpTable(const size_t jt_idx=0) noexcept {