Philips P80C552 support

General discussion on mikroBasic PRO for 8051.
Post Reply
Author
Message
Dali2
Posts: 3
Joined: 07 Oct 2012 13:31

Philips P80C552 support

#1 Post by Dali2 » 12 Oct 2012 20:35

Hello all,

because I very love my preferred 8051 device - Philips 80C552 and I want to use this controller in my next project, I have created definiton file for this one.
Attached you can find:
P80C552.mbas - source of definiton file in MikroBASIC
P80C552.mcl - compiled definiton file
P80C552.mlk - created on 8052 base, but with added new interrupt vectors

Declarations are for first set of registers (R0-R7 in bank 0), all SFRs, also for their bit representations. Special bit names and special functions on port bits are not defined, but can be easily added in your source code or can be also inserted directly into definiton file (in this case you need to delete the mcl file, copy mbas file into /Defs directory, and during next build of project also this file will be recompiled).

If you want directly use this device without any changes, just copy mcl and mlk file into /Defs directory. If you want to modify mbas file, you need to copy mbas and mlk file on this same location.

All files are free for any use without copyright :-)
Hope will be useful also for other x51 enthusiasts.

Dalibor
Attachments
80C552.zip
(4.57 KiB) Downloaded 219 times

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Philips P80C552 support

#2 Post by filip » 15 Oct 2012 10:10

Hi,

Thank you for your contribution, I'm sure that our users will find it useful. :)

Regards,
Filip.

Post Reply

Return to “mikroBasic PRO for 8051 General”