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/05 06:36
Modified:
  08/24/05 07:08

Read: times


 
#99943 - Thinking time
Responding to: ???'s previous message
hi,

Jan Waclawek said:
Proggrammer's manual, Philips' version, page 13, Table 7 top, lists all instructions that affects flag settings. There is no MOV there.


Jan, I have not saw the manual from Philips, however most manuals (I have Intel and Atmel here) indicate only flags C, OV and AC in table "Instructions that Affect Flag Settings".
In fact, there are at least two cases when MOV modifyes PSW:
1) MOV PSW,...
2) MOV A,...

In first case, PSW is modified directly. In second example, loading of accumulator does modify flag P (parity).

The only reason why this is not important in our case is that parity bit is auto-restored with POP ACC at the end of ISR.

Regards,
Oleg

List of 19 messages in thread
TopicAuthorDate
Timer miscounts?            01/01/70 00:00      
   Counter counts upwards            01/01/70 00:00      
   solved            01/01/70 00:00      
   More problems            01/01/70 00:00      
      further optimisation            01/01/70 00:00      
         Right here:            01/01/70 00:00      
            Bible time...            01/01/70 00:00      
               you are right            01/01/70 00:00      
               Thinking time            01/01/70 00:00      
                  how precise "bibles" are            01/01/70 00:00      
   Actually, PSW IS affected            01/01/70 00:00      
      bible time again and again            01/01/70 00:00      
         Not there???????            01/01/70 00:00      
   wilbers.asm updates            01/01/70 00:00      
      The shame of it all!            01/01/70 00:00      
         I am sorry            01/01/70 00:00      
            old farts make mistakes too            01/01/70 00:00      
               No offense taken            01/01/70 00:00      
         wow what a replies            01/01/70 00:00      

Back to Subject List