From 60028f4ee8f65804577de76b2cb1720c6590df20 Mon Sep 17 00:00:00 2001 From: karim hamidou Date: Tue, 8 Jul 2014 09:26:45 +0200 Subject: [PATCH] fixed link --- "_posts/2014-07-08-Marc-Andr\303\251-Cournoyer.markdown" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/_posts/2014-07-08-Marc-Andr\303\251-Cournoyer.markdown" "b/_posts/2014-07-08-Marc-Andr\303\251-Cournoyer.markdown" index 05074d7..909b61f 100644 --- "a/_posts/2014-07-08-Marc-Andr\303\251-Cournoyer.markdown" +++ "b/_posts/2014-07-08-Marc-Andr\303\251-Cournoyer.markdown" @@ -27,7 +27,7 @@ However, some of those instructions also play with the `pc`. One in particular i Here's the bug. Remember from earlier, I was incrementing the `pc` right after executing an instruction. That means each time an `if` was executed the VM would jump to a memory address **+ 2**. Two bytes too far. -The solution was to increment the `pc` before executing the instruction: https://github.com/greatcodeclub/chip8/blob/master/vm.js#L37. +The solution was to increment the `pc` before executing the instruction: [https://github.com/greatcodeclub/chip8/blob/master/vm.js#L37](https://github.com/greatcodeclub/chip8/blob/master/vm.js#L37). # Anything else to add? -- 2.43.0