Re: Port5

"sharmila inamdar" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <00ba01c41ca4$ccd26010$046464c7@sharmila>
well,
But I wonder what it does ?

B'coz. the SFR list shows
P5,P5CNT,C0C,C0S,C0IR,C0TE,C0RE,IE at addresses A1h to A8h.

and already P5, P5CNT are defined at 0A1h and 0A2h in ds80c390.inc

So ?

..sharmila

-----Original Message-----
From: Saurabh <[email protected]>
To: sharmila inamdar <[email protected]>
Date: Wednesday, April 07, 2004 6:13 PM
Subject: RE: Port5


>Sure why not...Please add the following in ds80c390.inc file...
>
>; *** P5 ***
>P50    EQU     0A1H
>P51    EQU     0A2H
>P52    EQU     0A3H
>P53    EQU     0A4H
>P54    EQU     0A5H
>P55    EQU     0A6H
>P56    EQU     0A7H
>P57    EQU     0A8H
>
>i hope this will help you.
>
>Saurabh
>
>-----Original Message-----
>From: sharmila inamdar [mailto:[email protected]]
>Sent: Wednesday, April 07, 2004 6:16 PM
>To: tini; Saurabh
>Subject: Re: Port5
>
>
>
>sorry to bother again. But I could not figure out the syntax to include the
>same in the *.inc file .
>
>on my search on net, i found one query for the same. It related to keil
>products.
>http://www.keil.com/support/docs/1441.htm
>
>It did not help.
>can you tell me the exact way of doing this ?
>
>-----Original Message-----
>From: Saurabh <[email protected]>
>To: sharmila inamdar <[email protected]>
>Date: Wednesday, April 07, 2004 1:11 PM
>Subject: RE: Port5
>
>
>>There is a file ds80c390.inc which is similar to reg390.h. this file
>>is to be included in your native code and compile with a390.exe to make a
>>native library.
>>in this file you define the port 5 bits as sbit starting with its sfr
>>address (0A1H)... this will solve your problem..
>>
>>Saurabh
>>
>>-----Original Message-----
>>From: sharmila inamdar [mailto:[email protected]]
>>Sent: Wednesday, April 07, 2004 12:50 PM
>>To: tini; Saurabh
>>Subject: Re: Port5
>>
>>
>>Well, I'm using Ds80c390. So ,I guess ,it should be reg390.h
>>
>>But I  have one  doubt. Correct me, if i am wrong. This being a "C" header
>>file , it can be part of c native code development.  When I am writing the
>>native code in assembly, how this file can be used ?
>>
>>..sharmila
>>
>>-----Original Message-----
>>From: Saurabh <[email protected]>
>>To: [email protected] <[email protected]>
>>Date: Wednesday, April 07, 2004 9:45 AM
>>Subject: RE: Port5
>>
>>
>>>Try to include reg400.h file and make sure that sbit for Port 5 is
>>>defined..Then you can play with port 5 bits same like in 8051
>>>
>>>Regards
>>>Saurabh
>>>
>>>*************************************************************************
*
>*
>>***********************
>>>The contents of this email and any attachments are confidential.
>>>They are intended for the named recipient(s) only.
>>>If you have received this email in error please notify the system manager
>>or  the
>>>sender immediately and do not disclose the contents to anyone or make
>>copies.
>>>
>>>** eSafe scanned this email for viruses, vandals and malicious content.
**
>>>*************************************************************************
*
>*
>>***********************
>>
>>**************************************************************************
*
>***********************
>>The contents of this email and any attachments are confidential.
>>They are intended for the named recipient(s) only.
>>If you have received this email in error please notify the system manager
>or  the
>>sender immediately and do not disclose the contents to anyone or make
>copies.
>>
>>** eSafe scanned this email for viruses, vandals and malicious content. **
>>**************************************************************************
*
>***********************
>
>***************************************************************************
***********************
>The contents of this email and any attachments are confidential.
>They are intended for the named recipient(s) only.
>If you have received this email in error please notify the system manager
or  the
>sender immediately and do not disclose the contents to anyone or make
copies.
>
>** eSafe scanned this email for viruses, vandals and malicious content. **
>***************************************************************************
***********************

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.