8bit-cpu-emulator/program.asm

11 lines
74 B
NASM

; add
mov a, 10
mov b, 5
add a, b
; sub
mov a, 15
mov b, 15
sub a, b
hlt