sfl-examples/slide-examples/ex16.asm

22 lines
242 B
NASM

bits 64
SECTION .data
; empty
SECTION .text
global _start
_start:
%include "header.asm.inc"
xor rbx, rbx
mov rax, 10
a1:
inc rbx
dec rax
jz a2
jmp a1
a2:
add rbx, rax
%include "sysexit.asm.inc"