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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/12/04 01:26
Read: times


 
#66552 - RE: IAR Embedded Workbench Ver 6.10A
Responding to: ???'s previous message
DI = 1; /* Set data into ADC to Start bit (=1) */
MOV A,0x9a
SETB 0xE0 /* A */.6
MOV 0x9a,A

Compared to the old compiler output:
DI = 1; /* Set data into ADC to Start bit (=1) */
SETB P1.6

===SNIP===

A mistake in the header file, that 0x9A should have been 0x90.

And since we know that only SFRs with addresses of 0x?0 and 0x?8 are bit-addressable, does correcting the header file to use 0x90 now let the compiler produce the SETB P1.6 instruction that your former version did?


List of 17 messages in thread
TopicAuthorDate
IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
   RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
      RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
         RE: Keil            01/01/70 00:00      
   RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
      RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
         RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
            RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
   RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
      RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
         RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
            RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
         RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
      RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
         RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
      RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      
         RE: IAR Embedded Workbench Ver 6.10A            01/01/70 00:00      

Back to Subject List