.BOOP LDY #4 ; Call the NOISE routine with Y = 4 to make a long, low BNE NOISE ; beep, returning from the subroutine using a tail call ; (this BNE is effectively a JMP as Y will never be ; zero)
[X]
Subroutine NOISE (category: Sound)
Make the sound effect whose number is in Y