Refine the initialize code
Fix armulator swi_semihost for arg and arg_len.
Update the test case a bit.