aboutsummaryrefslogtreecommitdiff
path: root/program.asm
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2026-01-04 23:59:29 +0530
committerkrolxon <krolyxon@tutanota.com>2026-01-04 23:59:29 +0530
commit49e6897d7938169d5d16cc6a40e555c8a5ba0242 (patch)
treedb437915563a3787eef945ef82ce7e4ecec8fa19 /program.asm
parent1fc09b928e7e910a443f90ea1b71a14ccd6b1a51 (diff)
update README.md
Diffstat (limited to 'program.asm')
-rw-r--r--program.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/program.asm b/program.asm
index 09ecba8..74bebdd 100644
--- a/program.asm
+++ b/program.asm
@@ -1,4 +1,10 @@
+; add
mov a, 10
mov b, 5
add a, b
+
+; sub
+mov a, 15
+mov b, 15
+sub a, b
hlt