12 + 22 + 32 + 42
+ …… up to 10 terms
XYZ, LDA T1
CMA
INC
STA T2
CLA
ABC, ADD T1
ISZ T2
BUN ABC
ADD S
STA S
BSA PQR
ISZ C
BUN XYZ
HLT
PQR, HEX 0
LDA T1
INC
STA T1
BUN PQR I
T1, DEC 1
T2, DEC 0
S, DEC 0
C, DEC -10
END
No comments:
Post a Comment