我在pdp-11中打印消息时遇到问题。 代码是:
tks = 177560
tkb = 177562
tps = 177564
tpb = 177566
mask1: .word 177600
WELM: .ascii<Welcome to Shir and Maya checkers game!>
SOG: mov #0,r2
movb WELM(r2),r1; put the letters in r1 by order
bic mask1,r1; clear high byte
tstb @#tps; while the printer is busy
bpl .-4;
mov r1,@#tpb; send to the printer
inc r2; add 1 to r2
cmp #46,r2; untill end of the string
bge .-32; repeat
假定输出为消息: 欢迎来到Shir和Maya跳棋游戏!
相反,我们收到以下消息: 欢迎tol @ r和Maya跳棋游戏!
这意味着出于某种未知原因,“ Shir”被替换为“ l @ r”
我该怎么办?