From 1e9a1a7f11c43be2a06a3550a5e55813b6aac344 Mon Sep 17 00:00:00 2001 From: flip111 Date: Sun, 17 Feb 2019 13:39:16 +0000 Subject: [PATCH] Update exceptions.md --- src/start/exceptions.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/start/exceptions.md b/src/start/exceptions.md index a8357bb7..510234fb 100644 --- a/src/start/exceptions.md +++ b/src/start/exceptions.md @@ -251,6 +251,7 @@ ResetTrampoline: 800094c: b #-0x4 ``` -You'll see that a load operation (`ldr r0, [r0]` ) caused the exception and that -the value of the register `r0` was `0x3fff_fffe` at that time. This value -matches the `r0` field of `ExceptionFrame`. +You can lookup the value of the program counter `0x0800094a` in the dissassembly. +You'll see that a load operation (`ldr r0, [r0]` ) caused the exception. +The `r0` field of `ExceptionFrame` will tell you the value of register `r0` +was `0x3fff_fffe` at that time.