write_memory
Write data to target memory at a specified address. Supports 8, 16, or 32-bit widths for byte, half-word, or word writes.
Instructions
向目标内存写入数据。
Args: address: 起始地址,十六进制字符串如 "0x20000100"。 data: 要写入的数据列表。 width=8 时为字节列表,如 [0x01, 0xFF]; width=16 时为半字列表,如 [0x1234]; width=32 时为字列表,如 [0xDEADBEEF]。 width: 写入宽度,8/16/32,默认 32。
Returns: 写入结果。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| data | Yes | ||
| width | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |