logukalipal
Junior Member level 2
- Joined
- Jan 8, 2012
- Messages
- 21
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Coimbatore, India
- Activity points
- 1,476
Hi...!
Beginner's voice: I want to set portA of 8255 is O/P in mode 0 to 8051.
So i need write hex code(0x83) to control register( 0x4003) of 8255 ppi ,
how can I achieve this in c language?
I use keil as assembler.
My error code:
xdata[0x4003]=0x83;
But keil shows the below error,
syntax error near '['
Thanks in advance..
Beginner's voice: I want to set portA of 8255 is O/P in mode 0 to 8051.
So i need write hex code(0x83) to control register( 0x4003) of 8255 ppi ,
how can I achieve this in c language?
I use keil as assembler.
My error code:
xdata[0x4003]=0x83;
But keil shows the below error,
syntax error near '['
Thanks in advance..