Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. RCallaway

    8051 Code

    barbari - Are you sure the carry flag is cleared before the subb instruction? I don't think mov a,x clears it. Also you have #10h, it should be decimal.... (typo) Here is what I do: cjne a, #10, Lab_x ; Modify carry flag Lab_x: jnc NotLessThan...
  2. RCallaway

    8051 Code

    Mungovan, For the < 10 I always check z and c flags after a cjne instruction. For the <= stuff, is that a pascal format for A = C, or the 'C' format for &quot;A = A shifted C times&quot;? If the real question is the < 10, let me know, I have many macros made for ==, <=, <, >, >=, ect...
  3. RCallaway

    GUI Event Handler

    How are you communicating with the other computer? Ethernet, Serial (RS232, USB), Parellel port, I.P.? This would help. It sounds like I'm missing something though.

Part and Inventory Search

Back
Top