; Contract: X = input, Y = output, B = positive number of bytes. ; Returns A = sum modulo 256. Both pointers advance and B reaches zero. section code export receive receive clra next adda ,x pshs a lda ,x+ sta ,y+ puls a decb bne next rts endsection