• enum data type
    my doubt is a general C doubt.. we know if we are using enum the variables which we declare inside automatically increments by one than the previous variable.. but is there any method by which we could...
  • enum type mixed with another type
    I'm getting a warning "enumeration type mixed with another type" with the following line of code. typedef enum { FALSE = 0, TRUE = !FALSE } bool; bool bResult; bool bAAA; bool bBBB; bResult = bAAA...
  • printf statement
    Greetings, I'm "attempting" to use the printf statement within my main code. Currently I'm seeing nothing out. My processor is a Dallas DS80C320. This has two serial port. - sbuf0 and sbuf1....
  • printf statement not working after putchar statement is used.
    Hi All I am using following putchar routine. void srl_putchar(unsigned char send) { SBUF = send; while (!TI); TI = 0; } after using above routine to transfer a character via serial port i continued...
  • Enums and Ints
    Bug, or just weird subtlety of ANSI C when it comes to enums and ints? typedef enum { es16_1, es16_2, es16_3, es16_Force16 = 0x7fff } EnumS16; typedef enum { eu16_1, eu16_2, eu16_3, eu16_Force16...