
ICE Emulator for 8051
23
©1989-2019 Lauterbach GmbH
Internal Memory
Setting read or write breakpoints to internal direct or bit addressed memory is possible. The emulator
hardware tracks the executed code and triggers on instructions that access the specified location. Indirect
addressed accesses to the breakpoint location will not trigger the breakpoint:
The breakpoint list commands list only one memory class:
b.s d:0x40 /w
...
; set direct addressed breakpoint
mov a,0x40
; the breakpoint is triggered
mov r0,#40
mov a,@r0
; the breakpoint is not triggered
b.s b:0x0 /r
...
; set bit addressed breakpoint
movb 0x0,c
; the breakpoint is triggered
mov r0,#20
mov @r0,a
; the breakpoint is not triggered
b.l
; list program breakpoints
b.l x:
; list breakpoints in external data memory
b.l d:
; list breakpoints in direct addressed mem.