Re: MK14 examples sources
When I SBASMed Moon Landing myself I could not reconcile the assembly language code with the hex code listing, because (I think) at least one of the jump destination labels was at the wrong address - I can't remember the specific problem though.
It's long been suggested that the programs in the manual were hand coded and then written up as assembly listings afterwards, not always completely accurately.
Tim has a useful method of starting off by converting the original hex code listing to .DB statements, assembling that and seeing if that works, and then replacing the .DB statements instruction by instruction with an equivalent line of assembly language, although I imagine he only normally uses that for programs / routines for which only the hex code was ever supplied.
|