ASM program to store successive numbers from 00H to FFH in successive memory locations

Aim: – To write an assembly language program to store successive numbers from 00H to FFH in successive memory locations.

1
2
3
4
5
6
7
8
9
10
MOV AX, DATA
MOV DS, AX
XOR AL, AL
LEA SI, VAR
MOV CX, 0100
NEXT: 	MOV [SI], AL
INC AL
INC SI
LOOP NEXT
END

Result: Successive numbers are stored in given successive memory locations from00H to FFH.

Chitra
Chitra

One thought on “ASM program to store successive numbers from 00H to FFH in successive memory locations

  1. I’ll immediately grab your rss feed as I can’t find your email subscription link or e-newsletter service. Do you have any? Please permit me know so that I could subscribe. Thanks. Jones sabo correct 1 releases this sort of bracele http://d1.perepel.ru/node/56021

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in