ndf-zz / disfv1

Disassembler for Spin FV-1
MIT License
12 stars 3 forks source link

Decompiled output cannot recompile do to conversion to standard form #1

Closed hedavies98 closed 3 years ago

hedavies98 commented 3 years ago

When decompiling a .bin file that uses small numbers Python converts this to standard form in the output which SpinAsm doesn't recognise as a number.

For example the program outputs: rdfx REG2,6.103515625e-05 ; reg:0x22 k:0x0001

When instead it should output: rdfx REG2,0.00006103515625 ; reg:0x22 k:0x0001

It's not a big deal to fix this manually after disassembly but it would be nice for the program to output numbers in the correct form.

ndf-zz commented 3 years ago

Hi, thanks for your suggestion and sorry for the very slow response - I'll make that change and update soon.