ucos-ii qemu emulation code