From f930c005c890561a7dcd35b8d79cccdb663c6d25 Mon Sep 17 00:00:00 2001 From: Joonas Javanainen Date: Sun, 4 Feb 2024 10:54:16 +0200 Subject: [PATCH] Fix typo --- chapter/cpu/instruction-set.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter/cpu/instruction-set.typ b/chapter/cpu/instruction-set.typ index d4a412e..f02979f 100644 --- a/chapter/cpu/instruction-set.typ +++ b/chapter/cpu/instruction-set.typ @@ -304,7 +304,7 @@ if opcode == 0xEA: mem_addr: ([#hex("FF00")+C],), pseudocode: ```python opcode = read_memory(addr=PC); PC = PC + 1 -if opcode == 0xE2: +if opcode == 0xF2: A = read_memory(addr=unsigned_16(lsb=C, msb=0xFF)) ``` )