Hai When simulating, keil IDE Skips some bit manipulating instructions.I think there is some point in that which I cannot locate.please pont out Roy Thomas
Any way how I can avoid such merging! set the minimum optimization you can live with and there will still be some "merging". A C compiler is supposed to be efficient and thus debugging via C source is sometimes confoosing. When wondering, set the breakpoint in the disassembly and see what actually happens. This phenomena is not a "Keil bug" I know of no decent compiler that does not show such behaviour. Erik
That's why it's called an Optimising compiler! http://www.keil.com/c51/c51_opt.htm Almost every 'C' compiler these days is an "Optimising" compiler.