11.14 SYS_ISERROR (0x08)

Determines whether the return code from another semihosting call is an error status or not.

This call is passed a parameter block containing the error code to examine.


On entry, R1 contains a pointer to a one-word data block:
word 1
The required status word to check.


On exit, R0 contains:
  • 0 if the status word is not an error indication
  • a nonzero value if the status word is an error indication.
Non-ConfidentialPDF file icon PDF versionARM DUI0375F
Copyright © 2007, 2008, 2011, 2012, 2014 ARM. All rights reserved.