6d36ebb4ecee
Timestamp
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Mon, 19 Dec 2016 12:40:27 -0500 |
parents | 6911e751d39a |
children | d63ec948b49e |
branches/tags | (none) |
files | content/blog/2016/12/chip8-cpu.markdown |
Changes
--- 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