TCPIP Network CPU Specific Code

Some functions can be optimized in assembly to improve the performance of the network protocol stack. An easy candidate is the checksum function. It is used at multiple levels in the stack, and a checksum is generally coded as a long loop.

\Micrium
	\Software
		\uC-TCPIP
			\Ports
				\<architecture>
					\<compiler>
						\net_util_a.asm

 

\Micrium

Contains all software components and projects provided by Micrium.

\Software

This sub-directory contains all software components and projects.

\uC-TCPIP

This is the main µC/TCP-IP directory.

\Ports

This is the main directory for processor specific code.

\<architecture>

The name of the CPU architecture that was ported to. The ‘<’ and ‘>’ are not part of the actual name.

\<compiler>

The name of the compiler or compiler manufacturer used to build code for the optimized function(s). The ‘<’ and ‘>’ are not part of the actual name.

net_util_a.asm contains assembly code for the specific CPU architecture. All functions that can be optimized for the CPU architecture are located here.