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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/13/04 07:13
Read: times


 
#77303 - RE: Working on nibble
Responding to: ???'s previous message
hi,

Although the 8051 has a lot of different groups of instructions, there are only two instructions which are supposed for nibble support. They are
SWAP A
and
XCHD A,@Ri
First one interchanges the low- and high-order nibbles of the Accumulator. Second one exchanges the low-order nubble of the Accumulator with that of the internal RAM location indirectly pointed with the register R0 or R1.

There is one more instruction which processes nibbles:
DA A
But this instruction is from arithmetic group (here: BCD-arithmetic) and has nothing with bits` manipulation.

Regards,
Oleg

List of 10 messages in thread
TopicAuthorDate
Working on nibble            01/01/70 00:00      
   RE: Working on nibble            01/01/70 00:00      
      RE: Working on nibble            01/01/70 00:00      
   RE: Working on nibble            01/01/70 00:00      
   RE: Working on nibble            01/01/70 00:00      
      RE: Working on nibble            01/01/70 00:00      
         RE: Working on nibble            01/01/70 00:00      
         First Step            01/01/70 00:00      
   RE: Working on nibble            01/01/70 00:00      
   RE: Working on nibble            01/01/70 00:00      

Back to Subject List