From 4166b0e5430bd723e31c1198b8d940381aded499 Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 5 Jan 2026 13:15:01 +0530 Subject: add cmp instruction, add reg, reg, and reg, imm variations --- examples/cmp.asm | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 examples/cmp.asm (limited to 'examples/cmp.asm') 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 -- cgit v1.2.3