C
craig
I need two methods that would allow me to extract the high and low words
from in Int32. Does this look correct? Thanks!!
private Int16 HighWord(Int32 Value)
{
Int16 newValue;
newValue = (Int16)(Value >> 16);
return newValue;
}
private Int16 LowWord(Int32 Value)
{
Int16 newValue;
newValue = (Int16)(Value & 0xffff);
return newValue ;
}
from in Int32. Does this look correct? Thanks!!
private Int16 HighWord(Int32 Value)
{
Int16 newValue;
newValue = (Int16)(Value >> 16);
return newValue;
}
private Int16 LowWord(Int32 Value)
{
Int16 newValue;
newValue = (Int16)(Value & 0xffff);
return newValue ;
}