cancel
Showing results for 
Search instead for 
Did you mean: 

programing question

bhavin_shah10
Associate II
Posted on January 23, 2004 at 05:06

programing question

2 REPLIES 2
bhavin_shah10
Associate II
Posted on May 17, 2011 at 10:16

Hi there!

I am new user of st72141.

In my program i have use one 16-bit register (speed_ref).

:

.Speed_ref

DC.W $2000. ; {HEX= 07D0}

My question is which 8-bit represent MSB bits.

{Speed_ref} or {Speed_ref+1}

Am i going right way by?

{speed_ref=07} and {speed_ref+1=D0}

or its other way around

Regards

BK
gaetano
Associate II
Posted on May 17, 2011 at 10:16

Yes, your hypothesis is the right one!

Instead, if you used the compiler directive 'WORD' the assignment would be the opposite.

Regards,

Tanio