Skip to navigation

Text: OUTX

[BBC Master version]

Name: OUTX [Show more] Type: Subroutine Category: Text Summary: Print the character in Q before returning to gnum
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * gnum calls OUTX
.OUTX LDA Q \ Print the character in Q, which is the key that was JSR DASC \ just pressed in the gnum routine SEC \ Set the C flag, as this routine is only called if the \ key pressed makes the number too high JMP OUT \ Jump back into the gnum routine to return the number \ that has been built