Max Power wrote:

How many Intel x86 CISC instructions needed to decode NTP time field (ignoring complexities of decoding full packet, re: NTP broadcasting)?

Write the code and count! IIRC, it's 32 bits of seconds since 1 January 1970, and 32 bits of fractional seconds.

From my understanding most NTP code is nearly exclusively compiled C++, efficient -- but not quite assembler.

C not C++


For RISC microcontroller applications and other CPU designs (like DSPs) -- NTP decoding may have to be done via assembler.


I believe that cross-compilers are available for many microcontrollers.

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to