[tools] update the tools and emulator with the isa tweaks
reformat all the source files to space indents