Code_Viewer ....
With the Disassembler implementation, I have added a little tool from the [Tools] Menu option, for viewing at once the results of the Assembler Encoder and of the Disassembly Job. This has revealved itself to be a useful tool for myself in order to verify both coding and decoding integrity.
As the Encoder and the Decoder are completely different things, using no table (only a basic one for the disassembler), as these two parts of RosAsm have been written at very different times, as I have used separate Intel Documention for each, and, finally, as I have verified that all of the Mnemonics are correct after Compilation and Disassembling, we can now consider RosAsm encodings as highly reliable, compared to other Assemblers, including for the newer SSE2-SSE3 Mnemonics that I have never experienced.
For users the Code-Viewer may be a good educational tool too.
You just input an assembly intruction in the EditBox. Then, the Assembler outputs the Hexa of the generated Code. When done (if no error...), the Disassembler computes these Bytes and outputs again the Instruction in text format.
The Value of the 'Data' default Pointer is meaningless and is set to zero. Don't confuse with zero dWords Values. I will improve this later. Often times, typing errors will be treated as unknown Data Symbol and will appear in the translations under the form of zeroed dWords.
Only one Instruction can be given at a time.
You can use it in two ways:
Input an instruction in the first Edit Box, and hit [Encode]. This will run the Assembler, show the Hexa Code, run the Disassembler and show again the Instruction ([Encode] includes [Decode].
Input Hexa Code in the second Edit Box and hit [Decode]. This only runs the Disassembler.
~~~~~~~