Reverse Engineer this Microcode
Please document and explain the code below. At a minimum, you should:
- Document the input(s) and output(s) of FUNC_UNK1.
- Document what, if anything, the input(s) are validated against.
- Explain the purpose of FUNC_UNK1.
For the overachievers:
- Every line should be documented.
- All logical blocks should be explained.
- Write pseudo-code for FUNC_UNK1.
References: http://documentation.renesas.com/doc/products/mpumcu/rej09b0316_sh_2esm.pdf