From dc1e33fda42dbad791ba78678bdaa3a641bd1c78 Mon Sep 17 00:00:00 2001 From: Carlos Fenollosa Date: Sun, 5 Oct 2014 13:03:48 +0200 Subject: [PATCH] lesson 5, functions and strings --- 05-bootsector-functions-strings/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/05-bootsector-functions-strings/README.md b/05-bootsector-functions-strings/README.md index 7f36576..798d4ac 100644 --- a/05-bootsector-functions-strings/README.md +++ b/05-bootsector-functions-strings/README.md @@ -59,10 +59,10 @@ Calling functions As you may suppose, calling a function is just a jump to a label. -The tricky part are the parameters. There are two approaches to parameters: +The tricky part are the parameters. There are two steps to working with parameters: 1. The programmer knows they share a specific register or memory address -2. Write a bit more code and make it generic +2. Write a bit more code and make function calls generic and without side effects Approach 1 is easy. Let's just agree that we will use `al` for the parameters.