NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

inc döngüde 1 artır
dec 1 azalt

mov ah,02h = ekrana yazdır
cmp 1,2 = 1 ile 2 yi karşılaştırır (if döngüsündeki gibi)

-----------------------------------------------------------
//girileni ters cevir::
; multi-segment executable file template.

data segment
isim db 'Berkay Unlu$'
ends

stack segment
dw 128 dup(0)
ends

code segment
start:
; set segment registers:
mov ax, data
mov ds, ax
mov cl,0
lea si,isim
dongu:

cmp [si],'$'
je bitir

inc si
inc cl
jmp dongu

bitir:
dec si
mov dl,[si]
mov ah,02h
int 21h

loop bitir


mov ax, 4c00h ; exit to operating system.
int 21h
ends

end start ; set entry point and stop the assembler.
------------------------------------------------------
//küçüğü büyüğe çevir
; multi-segment executable file template.

data segment
isim db 'berkay unlu$'
ends

stack segment
dw 128 dup(0)
ends

code segment
start:
; set segment registers:
mov ax, data
mov ds, ax
mov cx,0
mov bx,0
lea si,isim
dongu:

cmp [si],'$'
je bitir
cmp [si],' '
je bosluk
devamet:

inc si
inc cx
jmp dongu
bosluk:
inc bx
jmp devamet
bitir:
dec si
mov dl,[si]
sub dl,20h
mov ah, 02h
int 21h
loop bitir


mov ax, 4c00h ; exit to operating system.
int 21h
ends

end start ; set entry point and stop the assembler.
----------------------------------------------------------
//kelime sayisini bulan kod::
; multi-segment executable file template.

data segment
isim db 'berkay unlu$'
metin db ' kelimeden olusmaktadir.$'
ends

stack segment
dw 128 dup(0)
ends

code segment
start:
; set segment registers:
mov ax, data
mov ds, ax
mov cx,0
mov bx,0
lea si,isim
dongu:

cmp [si],'$'
je bitir
cmp [si],' '
je bosluk
devamet:

inc si
inc cx
jmp dongu
bosluk:
inc bx
jmp devamet
bitir:
inc bl
mov ah,02h
mov dl,bl
add dl,30h
int 21h
mov ah,09h
lea dx,metin
int 21h



mov ax, 4c00h ; exit to operating system.
int 21h
ends

end start ; set entry point and stop the assembler.
-----------------------------------------------------
data segment

sayilar db 10 dup(?)
ends



code segment
mov cx,10
lea si,sayilar
dongu:

mov ax,0100h
int 21h
mov [si],al
inc si

loop dongu
lea si,sayilar

mov cx,10

don:
sub ah,ah


mov al,[si]

mov bl,4
div bl
cmp ah,0

jne atla
mov dl,[si]

mov ah,02h


int 21h
atla:

inc si






loop don



ends


     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.