2004-02-10 08:10 PM
What determines a 16bit or 8 bit value
2004-02-10 04:20 AM
More ASM and I've stumbled across another problem...
I'm working with some signed binary which is stored in 16bit local variables e.g. BYTES EXTERN test1.b ; 16-bit What defines this as a 16bit value? Most of the routine does not rely on 16bit values anymore, so can I easily convert to 8 bit and not worry about the high and low bytes?2004-02-10 07:19 AM
This is just declaring the data as being external, the actual data will be allocated like this:
.test1 DS.W 1 ; declare 16bit data the dot before the data name declares the value as public. Have a look at the ST7 Assembler/Linker User Manual for further details. Regards sjo2004-02-10 07:56 PM
Thanks, I've been looking for something like that, but so many to download I didn't know which one I needed.
Thanks2004-02-10 08:10 PM
It is ''ST7 Assembler-Linker User Manual'' downloadable form the same site. I attach it for you.
[ This message was edited by: Jatin on 11-02-2004 09:41 ] [ This message was edited by: Jatin on 11-02-2004 09:43 ] ________________ Attachments : 1000890988.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzrM&d=%2Fa%2F0X0000000bTf%2Fgqw.wuHlKPly3sEQL6ue2w37stFrQbTv2fe8hX0PyXA&asPdf=false