comparison z80.cpu @ 1724:9a74c2d05672

Fixed a few ld instructions in the new Z80 core
author Michael Pavone <pavone@retrodev.com>
date Thu, 31 Jan 2019 23:55:09 -0800
parents b757ebc59851
children 89ee53a149ea
comparison
equal deleted inserted replaced
1723:b757ebc59851 1724:9a74c2d05672
225 z80_fetch_immed 225 z80_fetch_immed
226 z80_store_hl 226 z80_store_hl
227 227
228 00001010 ld_a_from_bc 228 00001010 ld_a_from_bc
229 lsl b 8 scratch1 229 lsl b 8 scratch1
230 or c scratch2 scratch1 230 or c scratch1 scratch1
231 ocall read_8 231 ocall read_8
232 mov scratch1 a 232 mov scratch1 a
233 233
234 00011010 ld_a_from_de 234 00011010 ld_a_from_de
235 lsl d 8 scratch1 235 lsl d 8 scratch1
236 or e scratch2 scratch1 236 or e scratch1 scratch1
237 ocall write_8 237 ocall read_8
238 mov scratch1 a 238 mov scratch1 a
239 239
240 00111010 ld_a_from_immed 240 00111010 ld_a_from_immed
241 z80_fetch_immed16 241 z80_fetch_immed16
242 mov wz scratch1 242 mov wz scratch1
316 meta high b 316 meta high b
317 z80_fetch16_from_immed 317 z80_fetch16_from_immed
318 318
319 ed 01011011 ld_de_from_immed 319 ed 01011011 ld_de_from_immed
320 meta low e 320 meta low e
321 meta high c 321 meta high d
322 z80_fetch16_from_immed 322 z80_fetch16_from_immed
323 323
324 ed 01101011 ld_hl_from_immed_slow 324 ed 01101011 ld_hl_from_immed_slow
325 meta low l 325 meta low l
326 meta high h 326 meta high h