Hi Steve

Thanks for reply...
Problem fixed...
Some problem on my GUI and interfacing from PC...

Cheers
Riaan

-----Original Message-----
From: mspgcc-users-ad...@lists.sourceforge.net 
[mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Steve Underwood
Sent: 16 April 2004 14:51
To: mspgcc-users@lists.sourceforge.net
Subject: Re: [Mspgcc-users] Problem with declaring global long variables


Hi,

I use longs all the time. I haven't found any bugs in recent versions of 
mspgcc. I have no idea what your listing is supposed to show, but as it 
stands it doesn't seem to illustrate anything.

Regards,
Steve


Doorduin Riaan <doord...@sun.ac.za> wrote:

>Hi
>
>Can somebody help here:
>
>I am having trouble using long variables in my code. I think it does 
>not compile or handle correctly:
>
>int main(void) {
>    1650:      31 40 00 0a     mov     #2560,  r1      ;#0x0a00
>  unsigned int i;
>  unsigned char c;
>
>// Variables for Callibration of AD7758
>  long accumulator;
>  signed char AD7758_CAL_REG_OFFSET = 0x00; //To keep record of 
>complete calibration procedure
>  long AD7758_xRMS_measured1 = 0x00; //Storage for results of offset 
>callibration
>  long AD7758_xRMS_value1 = 0x00;
>  long AD7758_xRMS_measured2 = 0x00;
>    1654:      06 43           clr     r6              ;
>    1656:      07 43           clr     r7              ;
>  long AD7758_xRMS_value2 = 0x00;
>  long AD7758_xRMSOS = 0x00;
>  long AD7758_xRMSOSnum = 0x00;
>  long AD7758_xRMSOSden = 0x00;
>
>  WDTCTL = WDTPW + WDTHOLD;             // Stop WDT
>
>Kind regards
>Riaan
>
>
>Riaan Doorduin
>
>Power Electronics Group
>Dept. Electrical and Electronic Engineering
>University of Stellenbosch
>
>Tel. +27 84 816 3790
>     +27 21 808 3220 (ext 2)
>Fax. +27 21 808 3554
>mailto:doord...@sun.ac.za
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by: IBM Linux Tutorials
>Free Linux tutorial presented by Daniel Robbins, President and CEO of 
>GenToo technologies. Learn everything from fundamentals to system 
>administration.http://ads.osdn.com/?ad_id70&alloc_id638&opÌk
>_______________________________________________
>Mspgcc-users mailing list
>Mspgcc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>  
>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo 
technologies. Learn everything from fundamentals to system 
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=ick
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to