[quote:822124aa98="Flyby123"]Can anyone give me pointers on how change to code to word (>255 postions) addressing[/quote:822124aa98]
I thought you've only wanted to use this code as starting point ?
This means to develop, but it's not clever trying to develop something in a language one has no control of.
If you consider it as a challenge, ok...
So here you go: currently the ic number is multiplied by 3, but only the low byte is loaded into r17, which serves as counter. You'll have to use another register to count also the high byte and test accordingly this new register and r17 for the end condition of the loop, aka zero
↧