Skip to content

Commit 1e9a1a7

Browse files
authored
Update exceptions.md
1 parent ccfe42d commit 1e9a1a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/start/exceptions.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ ResetTrampoline:
251251
800094c: b #-0x4 <ResetTrampoline+0xa>
252252
```
253253

254-
You'll see that a load operation (`ldr r0, [r0]` ) caused the exception and that
255-
the value of the register `r0` was `0x3fff_fffe` at that time. This value
256-
matches the `r0` field of `ExceptionFrame`.
254+
You can lookup the value of the program counter `0x0800094a` in the dissassembly.
255+
You'll see that a load operation (`ldr r0, [r0]` ) caused the exception.
256+
The `r0` field of `ExceptionFrame` will tell you the value of register `r0`
257+
was `0x3fff_fffe` at that time.

0 commit comments

Comments
 (0)