When checking the printflags, use MOVE
This commit is contained in:
@@ -79,7 +79,7 @@ OUTSTR: PUSH P,B ;Save register B.
|
|||||||
HRLI A,BPTR ;Ensure, A is a byte pointer.
|
HRLI A,BPTR ;Ensure, A is a byte pointer.
|
||||||
OUT: ILDB B,A ;Load the next byte from A.
|
OUT: ILDB B,A ;Load the next byte from A.
|
||||||
JUMPE B,OUTEX ;Exit the routine, if all bytes are done.
|
JUMPE B,OUTEX ;Exit the routine, if all bytes are done.
|
||||||
MOVEI D,PFLAGS ;Load the print flags.
|
MOVE D,PFLAGS ;Load the print flags.
|
||||||
TRNE D,001 ;Test, if the SIXBIT flag is set.
|
TRNE D,001 ;Test, if the SIXBIT flag is set.
|
||||||
ADDI B,40 ;Convert SIXBIT to ASCII.
|
ADDI B,40 ;Convert SIXBIT to ASCII.
|
||||||
.IOT CHTTYO,B ;Print a character.
|
.IOT CHTTYO,B ;Print a character.
|
||||||
|
|||||||
Reference in New Issue
Block a user