You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If the value is more than 1, then again the `inp[a]` is being compared with 6. If the value is greater than 6, the jump statement is not executed and explode_bomb function will be called.
181
+
- If the value of `inp[a]`is more than 1, then again the `inp[a]` is being compared with 6. If the value is greater than 6, the jump statement is not executed and explode_bomb function will be called.
182
182
**So, the value of `inp[a]` should be in range of 1 and 6.**
- If the value of `a` is in [1,6], then a new variable `rbp+0e4h` (let's call it variable `b`) is assigned the value `a+1`.
187
-
- The jump statement takes to condition statement, where the value of `b` is compared with 6. If the value is greater than or equal to 6, the jump statment again takes control to the increment operation of variable `a`.
186
+
- If the value of `inp[a]` is less than or equal to 6, then a new variable `rbp+0e4h` (let's call it variable `b`) is assigned the value `a+1`.
187
+
188
+

189
+
190
+
- The jump statement takes the control to a condition statement, where the value of `b` is compared with 6.
191
+
192
+

193
+
194
+
- If the value is greater than or equal to 6, the jump statment again takes control to the increment operation of variable `a`.
- If the values are equal, the jump statement is not taken, and explode_bomb function is called. If the values are not equal, the jump statement takes the control to increment of variable `b` and back to the loop condition of comparison of value `b` with 6.
194
203
195
-

204
+

196
205

197
206
198
207
- Now, if we go back and look around the read_six_numbers function, there is an instruction related to node. Address of this node is saved to `rbp+8`.
0 commit comments