A.3.18. SYS_SYSTEM (0x12)
Passes a command to the host command‑line interpreter. This enables you to execute a system command such as dir, ls, or pwd. The terminal I/O is on the host, and is not visible to the target.
Caution
The command passed to the host is executed on the host. Ensure that any command passed has no unintended consequences.
On entry, r1 contains a pointer to a two‑word argument block:
- word 1
Points to a string to be passed to the host command‑line interpreter.
- word 2
The length of the string.
On exit, r0 contains the return status.