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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/24/07 07:56
Read: times


 
#143581 - get 8 bit from look up table..
Responding to: ???'s previous message
can I get 8 bits from look up table??

because I only get nibble(4 bits)...

this is my program...:
$mod51
org 00h
jmp start

get:	db '0cf','12'

org 30h
start:
mov a,#01h
mov dptr,#get
movc a,@a+dptr
mov get,a
jmp start
end


I want to get '0cf'...
but with program above...I only get the 'c'

it is possible I get 8 bits??

List of 11 messages in thread
TopicAuthorDate
look up tabe            01/01/70 00:00      
   Structure ok, program doesn't make sense            01/01/70 00:00      
   Wrong tags!            01/01/70 00:00      
      look up tabel            01/01/70 00:00      
         Table            01/01/70 00:00      
      get 8 bit from look up table..            01/01/70 00:00      
         Check you assembler syntax!            01/01/70 00:00      
            I know...            01/01/70 00:00      
               RTFM!            01/01/70 00:00      
               Characters - surely not?!            01/01/70 00:00      
                  Thanks guys....            01/01/70 00:00      

Back to Subject List