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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/08/03 10:09
Read: times


 
#43067 - RE: What is a simple way to replace 2 bits?
Responding to: ???'s previous message
You can change bits (0-3)with (4-7)
using SWAP A instruction.

Example:
The Accumulator holds the value 0C5H (11000101B).
The instruction,
SWAP A
leave the Accumulator holding the value 5CH (01011100B).

Thanks,
Hatem Zakaria.

List of 4 messages in thread
TopicAuthorDate
What is a simple way to replace 2 bits?            01/01/70 00:00      
   RE: What is a simple way to replace 2 bits?            01/01/70 00:00      
   RE: What is a simple way to replace 2 bits?            01/01/70 00:00      
   RE: What is a simple way to replace 2 bits?            01/01/70 00:00      

Back to Subject List