From f6abf3a640c6a9e372f288e261be8e982c52bc3a Mon Sep 17 00:00:00 2001 From: Gaurang Tandon <1gaurangtandon@gmail.com> Date: Tue, 12 Mar 2019 16:51:00 +0530 Subject: [PATCH] add missing detail about question's last statement --- chapter3/3.62.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chapter3/3.62.md b/chapter3/3.62.md index 8ab6a78f..72bacaf9 100644 --- a/chapter3/3.62.md +++ b/chapter3/3.62.md @@ -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; +```