Assembly 8086 dasturlash tilida 2ta dasturga kodlar
Demak hozir sizga Assembly tilida 2ta misollar keltiraman (kodlari)
Hello World dasturi kodi :
org 100h
main proc near
mov ah, 09h
mov dx, offset message
int 21h
mov ah, 4ch
mov al, 00
int 21h
endp
message db "Hello World!$"
end main
ret
=============================================
A harfidan boshlab Z harfigacha harflarni ekranga chiqarish kodi :
CODE SEGMENT
ASSUME : CS : CODE
MAINP :
MOV CX, 1AH
MOV DL, 41H
NEXTC :
MOV AH, 02H
INT 21H
INC DL
LOOP NEXTC
MOV AX, 4C00H
INT 21H
CODE ENDS
END MAINP
Comments
Post a Comment
Iltimos, fikrlaringizni yozib qoldiring !