Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: mmahima2002
Forum: Assembly Apr 30th, 2007
Replies: 2
Views: 1,256
Posted By mmahima2002
Scanf("%d",&n); /*Reading the number*/
Printf("The prime factors of the given number are");
for (i =1; i<=n;i++)
{
if(n%i==0)
printf("%d\t",i);
}
Forum: Assembly Apr 27th, 2007
Replies: 14
Views: 8,095
Posted By mmahima2002
.data
short REAL4 0.1,1.0,10.0, 100.5, 1000.0, 400.0, 40.5, 60.6,8.9,10.1
count db 0ah
.code
Lea si, short
Mov cl, count
Loop1:
;moving the element to to ax register
Mov ax, [si]
;Push ax...
Forum: Assembly Apr 20th, 2007
Replies: 14
Views: 8,095
Posted By mmahima2002
.data
short REAL4 0.1,1.0,10.0, 100.5, 1000.0, 400.0, 40.5, 60.6,8.9,10.1
count db 0ah
.code
Lea si, short
Mov cl, count
Loop1:
;moving the element to to ax register
Mov ax, [si]
;Push ax...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC