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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/12/02 22:23
Read: times


 
#24383 - RE: Startup code SDCC versus Keil
Checked for it, both keil and sdcc produce
this:
anl _AUXR,#0xFD (sdcc)
anl pwcm, #0fdh (disassembled keil)

The D51 8051/8052 disassembler doesn't
recognize the auxr register, but the source
of the disassembler shows it 'knows' pwcm is at 0x8E.

I'll do some digging in the disassembled keil code and the sdcc assembler tomorrow, perhaps I do overlook something simple.

For what it's worth, the AUXR isn't bit addressable, hence the anl instruction, the header file I'm using has all the sfr and bits as the datasheet shows them.

Eric.

List of 8 messages in thread
TopicAuthorDate
Startup code SDCC versus Keil            01/01/70 00:00      
RE: Startup code SDCC versus Keil            01/01/70 00:00      
RE: Startup code SDCC versus Keil            01/01/70 00:00      
RE: Startup code SDCC versus Keil            01/01/70 00:00      
RE: Startup code SDCC versus Keil            01/01/70 00:00      
RE: Startup code SDCC versus Keil            01/01/70 00:00      
RE: Startup code SDCC versus Keil            01/01/70 00:00      
RE: Startup code SDCC versus Keil            01/01/70 00:00      

Back to Subject List