sfl-examples/slide-examples/ex16.asm

22 lines
242 B
NASM
Raw Normal View History

2023-12-14 14:12:51 +01:00
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"