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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/18/09 21:20
Modified:
  03/18/09 21:32

Read: times


 
#163618 - AT89S52 could be used...
Responding to: ???'s previous message
...if you mean the standard AT89C52.

Have a look at this:

http://www.atmel.com/dyn/resou...oc3487.pdf

I'm not quite sure, but I think the only thing to be changed in code when migrating from At89C52 to AT89S52 is to insert an instruction for defining the data pointer DPTR before accessing it.

Something like:

MOV AUXR1,#0
MOVC A,@A+DPTR

Here, when using the "MOVC A,@A+DPTR" instruction.

Have a look at this example code, for instance:

http://www.8052.com/forum/read/163513

Kai

List of 4 messages in thread
TopicAuthorDate
Obsolete part AT89C52            01/01/70 00:00      
   Is that OK with S type            01/01/70 00:00      
   AT89S52 could be used...            01/01/70 00:00      
   Atmel 89C52 >> Not recommended since 2003            01/01/70 00:00      

Back to Subject List