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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/27/08 21:53
Modified:
  07/27/08 21:54

Read: times


 
Msg Score: +2
 +2 Good Answer/Helpful
#157088 - Don\'t use any register
Responding to: ???'s previous message
...
Your_number equ $15fc


mov sbuf,#high(Your_number)

...

mov sbuf,#low(Your_number)


Check the documentation of your assembler, "high" and "low" can be other word.

List of 16 messages in thread
TopicAuthorDate
DPTR to hold 16 bit address            01/01/70 00:00      
   No. It is just a register.            01/01/70 00:00      
   Remember that there are two data pointers            01/01/70 00:00      
      let me get on my soapbox            01/01/70 00:00      
         More information is always helpful.            01/01/70 00:00      
         device info            01/01/70 00:00      
      Is that true?            01/01/70 00:00      
         Two?            01/01/70 00:00      
            You can ignore multiple DPTRs            01/01/70 00:00      
         Definition of "most"            01/01/70 00:00      
            my take on multiple dptrs            01/01/70 00:00      
      What idiot gave Lynn a -1 point??            01/01/70 00:00      
         Overreacting?            01/01/70 00:00      
         Karma            01/01/70 00:00      
         Calm down - it's perfectly valid and correct            01/01/70 00:00      
   Don\'t use any register            01/01/70 00:00      

Back to Subject List