diff --git a/src/6502/_ch395_read_recv_buf_sn.s b/src/6502/_ch395_read_recv_buf_sn.s index 9563712..b115257 100644 --- a/src/6502/_ch395_read_recv_buf_sn.s +++ b/src/6502/_ch395_read_recv_buf_sn.s @@ -55,15 +55,15 @@ beq @exit dec ptr2+1 jmp @read_256_bytes + @exit: lda ptr2 beq @go_rts jsr @read_only_ptr2 + @go_rts: rts - - @read_only_ptr2: ldy #$00 @loop: @@ -74,7 +74,4 @@ bne @loop rts - -ptr2: - .res 2 .endproc