Look here
http://www.sportdevices.com/ignition...n.htm#download
You have example in asm and C.