??? 08/16/06 05:52 Read: times Msg Score: +2 +1 Good Answer/Helpful +1 Informative |
#122326 - There is more than just switch/case Responding to: ???'s previous message |
If you on one side can not (or will not) use MOVC, for the reason mentioned before, on the other side, can not tell your compiler not to use the MOVC; my opinion is, this is a bad idea somehow to work around and try to trick the compiler.
How can const strings in code work? How can any nonzero static variable initializtion work; because the start upcode will copy the values from code to ram? A standard C51 compiler expects the 8051 instruction set to exist, with no exceptions. If you can not give the full 8051 instruction set to your C51 compiler, then you must program in assembler, or how do you proof the code is correct, by disassemble the C code? Best regards J.Christoph |