This program is supposed to count the number of letters in a string
I figured when the null character was loaded into accumulator A that it would end the loop, but it keeps counting the size. Any ideas as to how to solve this. Also, is there a board similar to this for assembly? ThanksCode:ORG RAMStart
String DC.B "This is a test string",0
Size DS.B 1
; code section
ORG ROMStart
Entry:
LDX #String
LDAA #0
loop:
LDAA 0,x
inc Size
inx
bne loop
bra *