[Solved] Positive, negative and zero (assembly)

What’s wrong with my code? I only had a quick look at your program, so my answer may be wrong: LDD 0,Y Obviously you are operating with 16 bit numbers. Otherwise you would use LDA or LDB instead of LDD. CPY #(ARRAY+QUANTITY-1) This would be correct if QUANTITY is the size of the array in … Read more