aboutsummaryrefslogtreecommitdiff
path: root/examples/addition.asm
blob: 9914dee2bae18a11999ec6c672cc1a75dec6aea4 (plain)
1
2
3
4
5
6
7
8
; move imm 10 to register A
mov a, 10
; move imm 5 to register B
mov b, 5
; Add a & B
add a, b
; Halt
hlt