I think the values in motorola are rather in decimal, not octal. You can’t have 39 in octal.
Normal BSIC values are in octal, but in your case, it seems they’re converted to decimal.
To convert the decimal to octal, you can use the excel formula DEC2OCT.
Eg, if your BSIC is 39, you can convert it to the normal basic by typing: =DEC2OCT(39).