nick703
Advanced Member level 1
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
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