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 06:28
Read: times


 
#15861 - RE: Monitor Routine for Printing a Strin
here's how i'd do it:
;-----
eot equ 00h
.print_immediate:
. pop dph
. pop dpl
. sjmp get_character
.
.send_character:
. mov sbuf,a
. await_send:
. cpl watch_dog
. jnb ti,await_send
. clr ti
.
.get_character:
. clr a
. movc a, @a+dptr
. inc dptr ;bump pointer or ret addr
. cjne a,#eot,send_character ;jif char
. jmp @a+dptr ;xif else; a=0,dptr=@eot+1
;-----

duh

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