Begin replacement of x86 assembly.
Reimplement assembly in f_scale.asm.