RealMonitor implements an SVC handler that must be integrated with your system to enable semihosting support.
When the target executes a semihosted SVC instruction, the RealMonitor SVC handler carries out the required communication with the host.
For more information see the documentation supplied with RealMonitor.