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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/11/05 12:16
Read: times


 
#94683 - 'org' and 'db'...
Responding to: ???'s previous message
Mahesh said:
...tell me how i can add the lookuptable.

Use 'org' instruction to set the code memory counter to the address where the first entry of look-up table should be placed. Then input the data by the help of 'db' instruction. Means some thing like:

.
.
org 2048

db 0, 100, 234, 120, 250, 23, 34, 56
db 9, 23, 127, 34, 0, 0, 1, 235
.
.

These lines put 16 table entries into the code memory, starting at address 2048 (decimal).

Kai

List of 13 messages in thread
TopicAuthorDate
A doubt in making timmer and a counter            01/01/70 00:00      
   Intel Application Note            01/01/70 00:00      
   Re            01/01/70 00:00      
   If you could            01/01/70 00:00      
      This is the code for timer n counter            01/01/70 00:00      
         Error message?            01/01/70 00:00      
            Kai dont u refer the code it is incompl            01/01/70 00:00      
               'org' and 'db'...            01/01/70 00:00      
   Look Up Table:            01/01/70 00:00      
      Oh            01/01/70 00:00      
   A probable solution...            01/01/70 00:00      
      HI Can I use the lookup table for Fract            01/01/70 00:00      
         Convert it !            01/01/70 00:00      

Back to Subject List