
Originally Posted by
Jerson
Jellis
There seems to be some inconsistency in your code. Before the while, you write 7,i
In the while, you do i=i+c1 followed by write 8,i The variable i being a word sized entity would write to 8,9. Is this what you're seeing? Location 8 will always read 0 since the high byte of i would be zero (you're counting till 20 only). Other than this, the only reason for not breaking out of the code will be C1 never catches any counts.
Jerson
Hi Jerson,
So he would need to do write 8,i.HighByte Write 9,i.LowByte ?
EDIT: thinking about it . . . if he is only counting to 20, why use a word variable at all, should be a byte , Now I get it.
Last edited by Archangel; - 24th March 2009 at 08:01.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks