When using the monitor i would like all ASSERTs to force a break out to the debugger. Is there any way of doing this with some inline C or assembler code? Many Thanks, Martin.
The monitor 51 has to somehow break out to the debugger, looking at the debug options it uses the serial interrupt. What does it do to the serial port to cause the breakpoint so I can simulate this in my ASSERT? Many Thanks, Martin.
Breakpoints are set in Mon51 by replacing the instruction where you set the breakpoint with an LJMP into the monitor.
Jon