From 68d85406ef834312b39474c11be09e5ed1a228b4 Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 5 Jan 2026 20:02:45 +0530 Subject: add table example --- examples/table.asm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/table.asm (limited to 'examples/table.asm') diff --git a/examples/table.asm b/examples/table.asm new file mode 100644 index 0000000..6ec079b --- /dev/null +++ b/examples/table.asm @@ -0,0 +1,9 @@ +; Table of 3 +mov b, 3 +mov c, 10 ; Counter + +loop: + add a, b + sub c, 1 + jnz loop +hlt -- cgit v1.2.3