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.

Show/hideEntry

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.

Show/hideReturn

On exit, R0 contains the return status.

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0471G
Non-ConfidentialID021412