Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to declare???????????

Status
Not open for further replies.

nick703

Advanced Member level 1
Joined
Oct 17, 2011
Messages
422
Helped
21
Reputation
44
Reaction score
22
Trophy points
1,298
Location
surat
Activity points
3,987
First I have a processor AT89x55WD and I use Keil uvision3 IDE .
In keil ide my programs Little part like that :
1) bit key1 = 0 ;
2) bdata unsigned char LedPort , SteeperPortA ;
sbit LB0 = LedPort^0 ;
sbit LB1 = LedPort^1 ;
:
sbit STP0 = SteeperPortA^0 ;
sbit STP1 = SteeperPortA^1 ;
:
3) code char Office[2][16] ={{ “ LINUX ”},
{ “ CCNA ” }};
4) TMOD = 0x11;
EA = 1;
TH0 = 0x3C ;
TL0 = 0XAF ;
ET1 = 1 ;
TR0 = 0 ;
TR0 = 1 ;
5) Void TIMER_0 (void) interrupt 1
TH0 = 0x3C ;
TL0 = 0XAF ;
6) Unsigned char StackPointer
If (Key1 == 1 )
{
SP = StackPointer
}
7) Sbit CY = PSW^7 (IN PROCESSOR HEADER FILE)
If (key1 == 0)
{
CY = 0 ;
}
8) INTERRUPT AND TIMER


So , my question is how can I use this types of declaration in MPLAB IDE V 8.50 and my processor is now PIC32MX575F256H.
PLEASE help me

thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top