Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions chapter3/3.62.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,12 @@
!INCLUDE "./code/3.62.c"
```

Note that in the end, the question also states that "(The C code) contained one case that fell through to another - try to reconstruct this". Obviously, the given assembly code does not match this description, since each of its labels have a `ret` instruction. However, if possible, the block for `MODE_D` would fall through to `MODE_E` as follows:

```c
case MODE_D:
*p1 = *p2;
case MODE_E:
result = 27;
break;
```