BTD

Top  Previous  Next

 

Convert BCD in accu 1 into double integer.

 

The accu 1 that is interpreted as 7-digit BCD-number is converted into a 4-bytes-binary number and the result is stored in accu 1.

 

The 4 most significant bits are interpreted as sign. If they are all ‘1’ the result will be negative.

 

There will be no controlling whether the number in accu 1 is a valid BCD-number.

 

Until version 2.1 this function has interpreted the accu 1 as 8-digit, always positive BCD-number by mistake. That is why programs that have made use of this property are faulty now.

 

See also:

BTI

DTR

ITD

ITB

DTB

 

List of operations