From peter at sensair.com Thu Jan 7 17:39:20 2010 From: peter at sensair.com (Peter Lissenburg) Date: Thu Jan 7 18:52:57 2010 Subject: [Icc-mot] copying long to long ? In-Reply-To: <200911302134.nAULYWGq073490@mail.imagecraft.com> References: <8CC3CF626277257-6C0-877A@webmail-d067.sysops.aol.com> <200911302134.nAULYWGq073490@mail.imagecraft.com> Message-ID: <4B468CC8.4060700@sensair.com> Hi Richard, I'm a bit lost here, it maybe a bug, or I'm defining something wrong. Copying a long to a long 015B ; tabptr->ipaddr.ulong = ipA->ulong; 015B ED8A ldy 10,S 015D EE8C ldx 12,S 015F 180202AE movw 2,X,2,-S 0163 180200AE movw 0,X,2,-S 0167 31 puly 0168 6D40 sty 0,Y 016A 31 puly 016B 6D42 sty 2,Y the ulong is part of a union, defined as; typedef unsigned long int uint32; typedef union{ uint8 byte[4]; uint16 word[2]; uint32 ulong; }uint_8x4_16x2_uint32; I think the.... 0167 31 puly 0168 6D40 sty 0,Y 016A 31 puly 016B 6D42 sty 2,Y should be 0167 31 puly 0168 6D40 sty 0,X 016A 31 puly 016B 6D42 sty 2,X As otherwise it's storing the data at the location of the value of the data. I'm using "Version 7.07 Built Jul 29 2009" Thanks for any assistance. Peter L. From peter at sensair.com Thu Jan 7 17:51:22 2010 From: peter at sensair.com (Peter Lissenburg) Date: Thu Jan 7 19:05:11 2010 Subject: [Icc-mot] copying long to long ? Please disregard. All ok with 7.07A In-Reply-To: <200911302134.nAULYWGq073490@mail.imagecraft.com> References: <8CC3CF626277257-6C0-877A@webmail-d067.sysops.aol.com> <200911302134.nAULYWGq073490@mail.imagecraft.com> Message-ID: <4B468F9A.10909@sensair.com> Sorry please disregard previous, version 7.07A produces; 0155 ; tabptr->ipaddr.ulong = ipA->ulong; 0155 ED8A ldy 10,S 0157 EE8C ldx 12,S 0159 180202AE movw 2,X,2,-S 015D 180200AE movw 0,X,2,-S 0161 30 pulx 0162 6E40 stx 0,Y 0164 30 pulx 0165 6E42 stx 2,Y Which works fine. I should have downloaded and check versions first. Cheers. Peter L. Hi Richard, I'm a bit lost here, it maybe a bug, or I'm defining something wrong. Copying a long to a long 015B ; tabptr->ipaddr.ulong = ipA->ulong; 015B ED8A ldy 10,S 015D EE8C ldx 12,S 015F 180202AE movw 2,X,2,-S 0163 180200AE movw 0,X,2,-S 0167 31 puly 0168 6D40 sty 0,Y 016A 31 puly 016B 6D42 sty 2,Y the ulong is part of a union, defined as; typedef unsigned long int uint32; typedef union{ uint8 byte[4]; uint16 word[2]; uint32 ulong; }uint_8x4_16x2_uint32; I think the.... 0167 31 puly 0168 6D40 sty 0,Y 016A 31 puly 016B 6D42 sty 2,Y should be 0167 31 puly 0168 6D40 sty 0,X 016A 31 puly 016B 6D42 sty 2,X As otherwise it's storing the data at the location of the value of the data. I'm using "Version 7.07 Built Jul 29 2009" Thanks for any assistance. Peter L. From richard at imagecraft.com Thu Jan 7 19:23:42 2010 From: richard at imagecraft.com (richard) Date: Thu Jan 7 19:23:43 2010 Subject: [Icc-mot] Mailing lists will be DOWN for the next few days Message-ID: <201001080323.o083Ngwk098014@mail.imagecraft.com> We are switching to use Google Apps for our email service. Very likely we will need to switch to yahoo groups or google groups for email lists. I will select the least intrusive service. Sorry about the inconvenience. You can email me directly (richard@imagecraft.com) if you have suggestions, comments, etc. // richard