aboutsummaryrefslogtreecommitdiff
path: root/examples/cmp.asm
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2026-01-05 13:15:01 +0530
committerkrolxon <krolyxon@tutanota.com>2026-01-05 13:15:01 +0530
commit4166b0e5430bd723e31c1198b8d940381aded499 (patch)
tree4a919035d0225a7ed752e8692fc03fa8f62c1e25 /examples/cmp.asm
parent57bbca6cb271f7b5819c02aca9e54e3e3cba8a33 (diff)
add cmp instruction, add reg, reg, and reg, imm variations
Diffstat (limited to 'examples/cmp.asm')
-rw-r--r--examples/cmp.asm4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/cmp.asm b/examples/cmp.asm
new file mode 100644
index 0000000..f35ccf4
--- /dev/null
+++ b/examples/cmp.asm
@@ -0,0 +1,4 @@
+mov a, 10
+mov b, 10
+cmp a, b
+hlt