| ??? 10/28/02 22:52 Read: times |
#31572 - RE: [C51] No bug! |
This is not a bug - it's just the optimiser doing its job!
In Assembler, you get precisely one machine instruction for each Assembly statement; in a high-level language (eg, 'C') there is no such guarantee!! Your 'C' source contains a repeated instruction sequnce: InSPack = 0; StartSPack = 0; return;Rather than duplicate this code, the compiler has simply generated it once only, and placed a jump to it from the other instance! |
| Topic | Author | Date |
| [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? -zbi | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? -zbi | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? -zbi | 01/01/70 00:00 | |
| RE: Please re-post the code! | 01/01/70 00:00 | |
| RE: parentheses, braces, brackets | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 - jon | 01/01/70 00:00 | |
| RE: [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 | |
| RE: [C51] No bug! | 01/01/70 00:00 | |
| RE: [C51] No bug! | 01/01/70 00:00 | |
RE: [C51] is bug in keil c51 7.01 ? | 01/01/70 00:00 |



