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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/10/99 18:14
Read: times


 
#142 - RE: Transfer of 16 bit data to internal RAM
> How can i load a 16 bit data
> to my internal RAM?
>
> I saw some books uses the below
> code:
>
> MOV TH0,HIGH (COUNT)
> MOV TL0,LOW (COUNT)
>
> but my assembler give me error
> when i compile the above code.

Try:

MOV TH0,#HIGH (COUNT)
MOV TL0,#LOW (COUNT)

I don't know what assembler you are using, but without the #'s the code doesn't make much sense even if it were to compile.

Good luck,
Craig Steiner


List of 2 messages in thread
TopicAuthorDate
Transfer of 16 bit data to internal RAM            01/01/70 00:00      
RE: Transfer of 16 bit data to internal RAM            01/01/70 00:00      

Back to Subject List