From 3dfa8cc98c46a8cee443fec22ec3efae8f36e401 Mon Sep 17 00:00:00 2001 From: Jali Date: Sun, 28 Sep 2025 20:25:26 +0200 Subject: [PATCH] Test the parameters --- src/sudoku.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sudoku.s b/src/sudoku.s index d103c8f..7c48ae4 100644 --- a/src/sudoku.s +++ b/src/sudoku.s @@ -37,17 +37,17 @@ START: MOVE P,[-PDLLEN,,PDL-1] ;Initialize the stack. MOVE A,[BPTR,,WELCOME] ;Print the welcome message PUSHJ P,PUTLN PUSHJ P,GETJCL ;Read the command line. - MOVE A,[BPTR,,LOADING] ;Print the loading message - PUSHJ P,OUTSTR - MOVEI A,FNAME1 ;Store the first file name in A - MOVEI B,FNAME2 ;Store the second file name in B - MOVEI C,FIELD ;Store the address of field in C MOVEI A,001 MOVEM A,PFLAGS MOVE A,[BPTR,,FNAME1] PUSHJ P,PUTLN MOVE A,[BPTR,,FNAME2] PUSHJ P,PUTLN + MOVE A,[BPTR,,LOADING] ;Print the loading message + PUSHJ P,OUTSTR + MOVEI A,FNAME1 ;Store the first file name in A + MOVEI B,FNAME2 ;Store the second file name in B + MOVEI C,FIELD ;Store the address of field in C PUSHJ P,IMPRTF ;Load the file PUSHJ P,PFIELD ;Print thee loaded field.