Krolyxon
Auto
Light
Dark
Summary
Tree
Log
Refs
Find
Commit
467ec78
Branches
master
Tags
v0.3.0
v0.2.0
Refs →
bench51
/
examples
/
arithmetic.asm
9 lines · 115 B · x86_64 Assembly
Raw
Blame
History
Download
1
; move imm 10 to register A
2
mov
a
,
10
3
; move imm 5 to register B
4
mov
b
,
5
5
; Add a & B
6
add
a
,
2
7
sub
a
,
2
8
; Halt
9
hlt