??? 03/08/05 22:00 Read: times |
#89303 - Blinker Responding to: ???'s previous message |
Rahul Sadagopan said:
while(1) { /**** list of statements.. ****/ if(x == 1) { _asm ljmp 00001$ _endasm; } } _asm 00001$: _endasm; }// main () ends Without any nasty kludging about, and no need for dodgy inline assembler, isn't this just the same as: do { /**** list of statements.. ****/ } while( x!=1 ) }// main () endsBut what do you think will happen when main() returns?? And how does this achieve you objective of inserting line breaks into a stream of text? |