diff --git a/src/sudoku.s b/src/sudoku.s index b2d1aec..8e3f3b9 100644 --- a/src/sudoku.s +++ b/src/sudoku.s @@ -109,8 +109,8 @@ PFIELD: PUSH P,A ;Save the A register. MOVE X,[440400,,FIELD] ;Store a bytepointer in X. PFIELN: .IOT CHTTYO,[^M] ;Print a carriage return. .IOT CHTTYO,[^J] ;Print a new line. - MOVE A,[440700,,HLINE] ;Print a horizontal line. - POPJ P,PUTLN + MOVE A,[440700,,HLINE] ;Print a horizontal line. + PUSHJ P,PUTLN MOVEI Y,011 ;Load the index register with 9. MOVEI B,174 ;Print a '|' symbol. .IOT CHTTYO,B