Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/19/01 01:20
Read: times


 
#15849 - RE: Monitor Routine for Printing a String
Hi,

This routine is extracted from Reads51 of Rigel Corporation.

To print, send this instruction.

;---- Calling Routine --------

acall print
db "Printing Routine",0


;---- Printing routine -------

PRINT: pop dph
pop dpl
prtstr:
clr a
movc a, @a+dptr
cjne a, #0h, mchrok
sjmp prtdone
mchrok:
MOV sbuf,a
loop1X: CPL WATCH_DOG
JNB ti,loop1X
CLR ti

prtdone:
mov a, #1h
jmp @a+dptr

List of 6 messages in thread
TopicAuthorDate
Monitor Routine for Printing a String            01/01/70 00:00      
RE: Monitor Routine for Printing a String            01/01/70 00:00      
RE: Monitor Routine for Printing a String            01/01/70 00:00      
RE: Monitor Routine for Printing a String            01/01/70 00:00      
RE: Monitor Routine for Printing a Strin            01/01/70 00:00      
RE: Monitor Routine for Printing a Strin            01/01/70 00:00      

Back to Subject List