• sizeof to assembler
    I use the following means of making .h files usable in assembler #ifdef CCODE // bypass structs for assembler modules structs ... such as typedef struct { ......... } E1_SEI; #endif extern...
  • problem with sizeof
    hi i wrote this code which is written bellow when ever i check the value of u it appear to be the 3. while it is supposed to be 8. Can any body tell me what is the problem with this code and how can...
  • Is there printing value of macro using armcc?
    Hello all. Is there printing value of macro using armcc? I want to see define value in c file? for example, #define value_a      1 #define value_b      2 #if value_a > value_b #error "error" #endif I...
  • Centronics printer printing junk value
    I am interfacing Epson LX-300 printer with 8051 using the parallel port. I have used 8 data lines, i strobe and 1 busy line for this purpose. I am able to send data to printer and it works fine. The...
  • printing float values gets no result
    I'm trying to use printf with the %f format specifier to display some floating point values but nothing gets printed. I can print integers values just fine using the %d format. Has anyone else had this...