Source code

Calswr

Calswr is written in Borland Delphi 6 with addon libraries: Raize components 2.52, Developer, Express Grids, MemData and Printing Systems, and Comport and HtmlHelp.

I am happy to make the source code available to any interested user but you wont be able to compile without the addons, and these may set you back $700.

Installation uses Wise Installmaster 8.1

Help authoring uses DotCHM version 2.16.

PIC16F876 code

This was written using ME Labs PicBasic pro compiler

For example:
Evaluating the square root of (a * b / c)  where a, b and c are 16 bit unsigned integers requires a 32bit/16bit division.
The PicBasic code is simply:
dummy = a * b
result = SQR DIV32 c

This calculation is needed in computing SWR. It would be much more complex to write in assembler !!