diff --git a/src/sudoku.s b/src/sudoku.s index 564fc24..790766e 100644 --- a/src/sudoku.s +++ b/src/sudoku.s @@ -39,7 +39,7 @@ START: MOVE P,[-PDLLEN,,PDL-1] ;Initialize the stack. PUSHJ P,GETJCL ;Read the command line. MOVE A,[BPTR,,LOADING] ;Print the loading message PUSHJ P,OUTSTR - MOVEI A,000 ;Pretend the field name is SIXBIT + MOVEI A,001 ;Pretend the field name is SIXBIT MOVEM A,PFLAGS ;Store flags in PFLAGS MOVE A,[BPTR,,FNAME1] ;Load FNAME1 into the A PUSHJ P,OUTSTR ;Print the name in a single line @@ -63,9 +63,9 @@ GETJCL: PUSH P,A ;Save the register A. MOVE A,[JCL] MOVE A,[BPTR,,JCL] ;Load the command parameters into A. MOVE B,[BPTR,,FNAME1] ;Pointer to the first file name. - PUSHJ P,CPSTR ;Transfer the first word into FNAME1 + PUSHJ P,TOSIXB ;Transfer the first word into FNAME1 MOVE B,[BPTR,,FNAME2] ;Pointer to the second file name. - PUSHJ P,CPSTR ;Transfer the second word into FNAME2 + PUSHJ P,TOSIXB ;Transfer the second word into FNAME2 POP P,B ;Restore the B register. POP P,A ;Restore the A register. POPJ P, ;Return from routine.