5.3.1. ARMulator

To get your own handler and the semihosting handler to cooperate, simply install your SWI handler into the SWI entry in the vector table. No other actions are required.

When an appropriate SWI is reached in your code, ARMulator detects that it is not a semihosting SWI and executes the instruction in the SWI entry of the vector table instead. This instruction must branch to your own SWI handler.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D