Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC USART even parity
#8
Kako najbrže prebrojati ovce na livadi?
Prebrojimo broj nogu pa podelimo sa četiri, potom šiftujemo jednom u desno, ako nas to zanima u bajtovima :-)

Šalim se malo.

Odokativno mi se čini da je brže ovo sa makroom, mada to zavisi od kompajlera, a nemam živaca da napišem u asm (najbrže).
Reply


Messages In This Thread
PIC USART even parity - by dlalkovic - 03-26-2021, 05:12 PM
RE: PIC USART even parity - by vojinilic - 03-26-2021, 05:38 PM
RE: PIC USART even parity - by dlalkovic - 03-26-2021, 06:02 PM
RE: PIC USART even parity - by dlalkovic - 03-31-2021, 06:19 PM
RE: PIC USART even parity - by vojinilic - 03-31-2021, 08:57 PM
RE: PIC USART even parity - by ognjan - 04-01-2021, 09:47 AM
RE: PIC USART even parity - by vojinilic - 04-01-2021, 11:29 AM
RE: PIC USART even parity - by Macola - 04-01-2021, 11:56 AM
RE: PIC USART even parity - by vojinilic - 04-01-2021, 12:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)