Good evening i am a new programmer ,trying to compile the below code at assembly using pdp-11 simulator. But im stack with errors,i'm sure about the syntax but can't define where the error or what to change. the code :
movb @#tkb, r0
bic #177600, r0
cmpb #’$, r0
beq seton
error descripe: "error 8-illegal character" for the line "cmpb #'$, r0".
anyone knows why that is? and how should i write it? The point is to stop the loop when i get the '$ char.