From 1cb33c3d700f79e79568e01471f697decb2c296e Mon Sep 17 00:00:00 2001 From: Arturo Fonseca <49870466+arturo32@users.noreply.github.com> Date: Mon, 2 Dec 2024 00:20:31 -0300 Subject: [PATCH] fix: add memory origin to cells --- memoryContainer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/memoryContainer.js b/memoryContainer.js index 3705e45..ff5f29a 100644 --- a/memoryContainer.js +++ b/memoryContainer.js @@ -75,6 +75,7 @@ const vm = createApp({ if(cell[1][0] === 'C_ARRAY') { this.flatArray(cell, arrayCells) } + cell[2] = false; } localsArray.push(...arrayCells); @@ -127,6 +128,7 @@ const vm = createApp({ cell[1][2][3] = '?'; } this.flatArray(cell, arrayCells); + cell[2] = true; } heapArray.push(...arrayCells);