• Bit variables
    I want to define a 8 BIT variable and char variable that occoupy the same memory loaction in the memory. so any change in the char variable should reflect the bit variable. In C we can define a structure...
  • bit problem
    001B C200 E CLR ?search_fine?BIT 001D 120000 E LCALL search_fine I'm getting IMPROPER FIXE-UP at this assembly routine. How can I fix this problem ? function defined like following bit search_fine...
  • carry bit
    as i am doing in assembly language setb c clr c it work's fine but when i tried it in c c = sd; sd = c; the sd may be the high or low it gives error related to declaration of...
  • bits are not setting
    Can anybody tell me what is wrong in the following coding? I am unable to set P1.5 and P1.6 if I take the set memory from the variable and try to assign it to P1.5 or 6. But I am able to set P1.5 and...
  • bit addressing
    are 8051 derivatives bit addressable on the ports like PICs are? if so how do you write this in c? if i waned to address P1.4 would i write P1=P1|0x10 or am i way off the mark?