• 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...
  • printf serial port 8051
    Hi. Why does TI need to be set before printf is called. TI = 1; printf("Hello world\n"); Whereas in assembly TI should be cleared before a char is put in SBUF, so it can be tested to see if...
  • printf statement with enum data type
    I run into a problem using enum datatype with printf statement. The folloing code works with Viusal C but does not work with KEIL compiler --- printf statement prints out the wrong value. Could somebody...
  • IF statement
    hi i want to use IF statement in assembly, like this if (p3.0 true) { } else { } or like this BEGIN: IF R0 = #45 { } ELSE { } ENDIF jmp begin so how can i use it, for...