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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/03/03 02:21
Read: times


 
#53943 - RE: array in asm51
Responding to: ???'s previous message
Hallo giri anto (giri@ikp.component.astra.co.id),

It seems like you are triying to access bits of B register. I can't see it as accessing array. You can use bit shifting to access those bits as array of bits. See Oleg's reply.

If you (insist) to implement arrays in assembly, try this:
1. make space in your memory segment to hold value of the array,
2. access the elements using pointer register such @R0, @R1 or @DPTR

You have to cunsult the manual of your assembler for point 1.

The "bible" chapter 2 describe the lists of mnemonics on using pointer register.

Selamat bekerja.

List of 7 messages in thread
TopicAuthorDate
array in asm51            01/01/70 00:00      
   RE: array in asm51            01/01/70 00:00      
   RE: array in asm51            01/01/70 00:00      
      RE: array in asm51            01/01/70 00:00      
         RE: array in asm51            01/01/70 00:00      
   RE: array in asm51            01/01/70 00:00      
   RE: array in asm51            01/01/70 00:00      

Back to Subject List