Hello, I have written simple program for subtraction in keil by selecting the LPC2148 from NXP family. When i observe the disassembly window my subtraction c program convert to instruction SUB R2,R0,R1 which is not affecting the flags. If i want to convert disassembly in to SUBS R2,R0,R1 which thing i require to do. How compiler decide whether it has to use SUB or SUBS when it convert to disassembly?
O.K understood. Thanks Per.
Please visit the Site contest.collectiva.in/.../ContestTraining.aspx To learn Fundamentals of C Programming online video tutorials in Tamil. It is very useful for the Beginners.