Joachim Van der Auwera wrote: >> This is probably not the code you wanted. It adds the word at memory >> address $000000c to a1, i.e. a # is missing. > Wow, very strong. This is the kind of features that make writing (and > debugging) assembler "interesting".
Only the first few times, after that it springs to ones eye ;-) More difficult to spots in complex and/or large codes are often things like wrong registers. Only 3 days ago I finally fixed a nasty bug that lived in the PE for about 12 years. It drew weird windows or crashed the machine when there was only little free memory. A mix up between a1 and a2 was all it took. Now find that within some large piece of code you can't use a debugger on. Marcel (currently looking at and writing 68k assembler about 5 hours a day...)
