; prog.asm ;================================================ .model small .data dane segment pusta1 db 1,2,0ffh pusta2 dw 0ah,0ffffh pusta3 dd 0ffffffffh,0abcdef00h pusta4 dq 0ffffffffh,0abcdef00h liczba db 'A' lancuch db 13d,10d,'A to jest tekst do wyswietlenia',13d,10d,'$' dane ends .code ;================================================ prog segment assume cs: prog, ds:dane start: mov ax, seg dane mov ds, ax int 3 inc liczba mov bx, offset liczba mov dl, [bx] mov ah, 02h int 21h int 3 mov dx, offset lancuch mov ah, 09h int 21h mov ah, 4ch int 21h int 3 ;================================================ .stack ;================================================ prog ends end start