# HG changeset patch # User Steve Losh # Date 1482169227 18000 # Node ID 6d36ebb4ecee5854fba11539adf072d844f6a25e # Parent 6911e751d39af2b5970f06600219d57202bcc7a5 Timestamp diff -r 6911e751d39a -r 6d36ebb4ecee content/blog/2016/12/chip8-cpu.markdown --- a/content/blog/2016/12/chip8-cpu.markdown Sun Dec 18 22:15:03 2016 -0500 +++ b/content/blog/2016/12/chip8-cpu.markdown Mon Dec 19 12:40:27 2016 -0500 @@ -1,7 +1,7 @@ +++ title = "CHIP-8 in Common Lisp: The CPU" snip = "Let's write an emulator." -date = 2016-12-19T14:50:00Z +date = 2016-12-19T17:45:00Z draft = true +++ @@ -198,8 +198,8 @@ ### The Flag Register Register number 15, or `#xF` in hex, is special. It's nicknamed the "flag" -register, and gets set by some instructions. We could just access it like the -rest of the registers in our code: +register and gets set specially by certain instructions. We could just access +it like the rest of the registers in our code: ```lisp (setf (aref (chip-registers chip) 15) 1) ; set flag to 1