.model small .stack 10 .data .code main: mov ax, @data mov ds, ax mov cx, 8 mov ax, 0 mov bx, 1 mov dx, 0 fibonacci: mov ax, bx add bx, dx mov dx, ax loop fibonacci mov ax, 4c00h int 21h end main