- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
8 Posted Topics
i hope u know that in certain processors, the memory is segmented(or divided)...basically its not physically segmented rather its logical....the purpose is to store code,data,stack etc in different parts of memory.... so there should be some way to specify the starting address of each such segments.....so wat i want to …
wat exactly u need? a progm written in assembly level language?
this sfould work and its in C which u needed.... [code=c] #include<stdio.h> main() { int a[128]; int fN; int n,i; int a[0]=1; int a[1]=1; printf("How many nos. do u want to add:\n"); scanf("%d",&i); printf("How many no. of digits u want to output:\n"); scanf("%d",&n); for(fN=2;fN<=i;fN++) { a[fN]=a[fN-1]+a[fN-2]; if((a[fN]>(pow(10,n-1)-1))&&(a[fN<(pow(10,n))) printf("%d\n",a[fN)); } getch(); …
hi... all as i have to do a simple project in graphics.... which is a part of our curriculum.... i want u to suggest me a topic.....
make use of string comparision function strcmp() and any sorting method.....its goin to be simple..... if in case u r not able to device a solution..... i ll post u the code... try to understand it.....k....
[B]x equ 2[/B] [B]y equ 3 /*declare the var*/[/B] [B].code[/B] [B]mov ax,01h[/B] [B]mov bx,x[/B] [B]mov cx,y[/B] [B]loop1:mul bx[/B] [B] loop loop1[/B] [B]/*ax will have the result... and if in case the result occupies more than 16 bits...then the higher word is in dx */[/B] [B]note: this program is written for …
you do the followin: *declare two variables which act as two opeands *a char variable that recieves the type of operation(+,-./,*) *make use of switch statement and perform opeations as specified by the operator.......... its really simple....
[B]can some one guide me in creating a text editor?tools that can be used,in detail.......[/B]
The End.
lakshmi.1987