From 3ebb8fa0af7d6259b27c495e84ba3709c45b620a Mon Sep 17 00:00:00 2001 From: "Elf M. Sternberg" Date: Mon, 30 Apr 2018 20:47:14 -0700 Subject: [PATCH] Fixed a typo. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 67bba33..57f1579 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ counter register `rcx`. And since that's what we were using in the Early on in Lesson 4, I spotted and fixed a bug where I had one too many `pops` off the stack (see -[commit 89b58186](https://github.com/elfsternberg/asmtutorials/commit/89b58186fbc54508891c0077cc3e32b3fed8d7cb#diff-89abeb42c81885d8d2e202657820501bL58), +[commit 89b58186](https://github.com/elfsternberg/asmtutorials/commit/89b58186fbc54508891c0077cc3e32b3fed8d7cb#diff-89abeb42c81885d8d2e202657820501bL58)), but what perplexed me is how the system didn't crash with a stack underflow. Now I know why: the stack had two values on it already: the counter, and the pointer to the program name, which is always `argv[0]`.