Hi,
I would like to know if is there any documentation that explains in detail the VEX assembly semantics and the binary of each instruction generated by the compiler (if that exists, I'm not sure how it works in a simulation).
I'm working on an assembler targeted at a VHDL VEX implementation (the r-VEX project, at TUDelft), and there are some points that are not entirely clear for me. For example:
- The MOV instruction works for register to register and for immediate to register. If the assembly instruction is the same (i.e., there is no MOV and MOVI), then, what should be the binary generated?
- What the instruction MTB is supposed to do? Just tranfer the least significant bit of a GR to a BR register? For what is it for?
- What happens in function or recursive calls? Is there something in the assembly code that tells the simulator to do somenthing?
Thank you.
Maurício Costa
