added second row of the optable

This commit is contained in:
radumacocian
2025-07-01 18:51:39 +02:00
parent e383b9a85d
commit 16a1c888a7
3 changed files with 119 additions and 5 deletions

View File

@@ -19,8 +19,8 @@ func LDBCd16(context op_context) {
context.cpu.SetBC(context.immediate)
}
// 0x02 LDBCa Store the contents of register A in the memory location specified by register pair BC.
func LDBCa(context op_context) {
// 0x02 LDBCA Store the contents of register A in the memory location specified by register pair BC.
func LDBCA(context op_context) {
operations.LDInMemory8(context.cpu.BC(), context.cpu.A)
return
}
@@ -105,5 +105,4 @@ func RRRCA(context op_context) {
context.cpu.SetNF(false)
context.cpu.SetHF(false)
context.cpu.SetCF(a0 == 1)
}