Skip to content

Commit bac18e0

Browse files
bors[bot]a-gavin
andauthored
Merge #87
87: Fix inconsistent exception handling vector table objdump r=eldruin a=a-gavin Fixes #86 Co-authored-by: Alex Gavin <a_gavin@icloud.com>
2 parents d50b97f + 55efc41 commit bac18e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/exceptions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ The vector table now resembles the results of all the code snippets in this book
174174
- The first bit being set to 1 does not alter the address due to
175175
alignment requirements. Instead, it causes the function to be executed
176176
in _thumb mode_.
177-
- Afterwards, a pattern of addresses alternating between `0x7f` and `0x00` is
177+
- Afterwards, a pattern of addresses alternating between `0x83` and `0x00` is
178178
visible.
179-
- Looking at the disassembly above, it is clear that `0x7f` refers to the
180-
`DefaultExceptionHandler` (`0x7e` executed in thumb mode).
179+
- Looking at the disassembly above, it is clear that `0x83` refers to the
180+
`DefaultExceptionHandler` (`0x84` executed in thumb mode).
181181
- Cross referencing the pattern to the vector table that was set up earlier
182182
in this chapter (see the definition of `pub static EXCEPTIONS`) with [the
183183
vector table layout for the Cortex-M], it is clear that the address of the

0 commit comments

Comments
 (0)