For example, to make an infinite loop
for(;;){}
while(1){}
Or perhaps for a better example
for(int i=1;i<21;i++){
//statements
}
//or
int i=1;
while(i<21){
i++;
}
for(;;){}
while(1){}
Or perhaps for a better example
for(int i=1;i<21;i++){
//statements
}
//or
int i=1;
while(i<21){
i++;
}
|
|
|
Guest_Jordan_*
RichardM said:
do{}while(1);
Sorry if I don't post as often as I did, I'll try to get here as much as possible! I'm working my bum off to get this scholarship and other stuff!
@1@30: jmp short @1@30
@1@30: jmp short @1@30
push si xor si,si jmp short @1@86 @1@58: inc si @1@86: cmp si,10 jl short @1@58
push si xor si,si jmp short @1@58 @1@58: mov ax,si inc si cmp ax,10 jl short @1@58