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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/27/03 15:36
Read: times


 
#57327 - RE: PIC Solution, to Mahmood
Responding to: ???'s previous message
mahmood Elnasser wrote:
-------------------------------
If it was a pic then only 2 instructions are needed:

MOVWF R0;
SWAPF R0,f;

Sorry Mahmood, this is wrong.

The M.Karas's task is to exchange the low nibble of the accumulator (W in your case) and the high nibble of ram pointed by r0 register (lets say R0 in your case) without changing any other nibbles.

Regards,
George





List of 17 messages in thread
TopicAuthorDate
Weekend Puzzler #1            01/01/70 00:00      
   RE: Weekend Puzzler #1            01/01/70 00:00      
      RE: Weekend Puzzler #1            01/01/70 00:00      
   RE: Weekend Puzzler #1            01/01/70 00:00      
      RE: Weekend Puzzler #1            01/01/70 00:00      
         RE: Weekend Puzzler #1            01/01/70 00:00      
   RE: Weekend Puzzler #1            01/01/70 00:00      
   RE: Weekend Puzzler #1            01/01/70 00:00      
      RE: Weekend Puzzler #1, to Kai Kaas            01/01/70 00:00      
         RE: Weekend Puzzler #1, to Kai Kaas            01/01/70 00:00      
      RE: Weekend Puzzler #1            01/01/70 00:00      
         RE: Weekend Puzzler #1 / Asok            01/01/70 00:00      
            RE: Weekend Puzzler #1 / Asok            01/01/70 00:00      
   RE: PIC Solution            01/01/70 00:00      
      RE: PIC Solution, to Mahmood            01/01/70 00:00      
         RE: PIC Solution, to Mahmood            01/01/70 00:00      
      RE: PIC Solution, to Mahmood            01/01/70 00:00      

Back to Subject List