Skip to content

Commit 2810432

Browse files
authored
Fix ld a, [imm16]'s encoding (#542)
1 parent 5c8594f commit 2810432

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CPU_Instruction_Set.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Finally, the instruction "families" have been further grouped into four "blocks"
156156
"<code>ld [imm16], a</code>" 7:"1" 6:"1" 5:"1" 4:"0" 3:"1" 2:"0" 1:"1" 0:"0" ;
157157
"<code>ldh a, [c]</code>" 7:"1" 6:"1" 5:"1" 4:"1" 3:"0" 2:"0" 1:"1" 0:"0" ;
158158
"<code>ldh a, [imm8]</code>" 7:"1" 6:"1" 5:"1" 4:"1" 3:"0" 2:"0" 1:"0" 0:"0" ;
159-
"<code>ld a, [imm16]</code>" 7:"1" 6:"1" 5:"1" 4:"1" 3:"1" 2:"1" 1:"0" 0:"0" ;
159+
"<code>ld a, [imm16]</code>" 7:"1" 6:"1" 5:"1" 4:"1" 3:"1" 2:"0" 1:"1" 0:"0" ;
160160
}}
161161

162162
{{#bits 8 >

0 commit comments

Comments
 (0)