Emily's Z80 assembler for the Gameboy.
Revision | 93244bf43bc6f10608fe1ca042016b98c876e252 (tree) |
---|---|
Zeit | 2021-02-05 17:04:52 |
Autor | AlaskanEmily <emily@alas...> |
Commiter | AlaskanEmily |
Add some missing opcodes with immediate values
@@ -295,7 +295,8 @@ SOME_ARGS = { | ||
295 | 295 | "(hl)":0x86, |
296 | 296 | "a":0x87, |
297 | 297 | "hl":{ "sp":0x39 }, |
298 | - "sp":{ "r8":0xE9 } | |
298 | + "sp":{ "r8":0xE9 }, | |
299 | + "d8":0xC6 | |
299 | 300 | }, |
300 | 301 | "adc":{ |
301 | 302 | "b":0x88, |
@@ -315,7 +316,8 @@ SOME_ARGS = { | ||
315 | 316 | "h":0x94, |
316 | 317 | "l":0x95, |
317 | 318 | "(hl)":0x96, |
318 | - "a":0x97 | |
319 | + "a":0x97, | |
320 | + "d8":0xD6 | |
319 | 321 | }, |
320 | 322 | "sbc":{ |
321 | 323 | "b":0x98, |
@@ -335,7 +337,8 @@ SOME_ARGS = { | ||
335 | 337 | "h":0xA4, |
336 | 338 | "l":0xA5, |
337 | 339 | "(hl)":0xA6, |
338 | - "a":0xA7 | |
340 | + "a":0xA7, | |
341 | + "d8":0xE6 | |
339 | 342 | }, |
340 | 343 | "xor":{ |
341 | 344 | "b":0xA8, |
@@ -355,7 +358,8 @@ SOME_ARGS = { | ||
355 | 358 | "h":0xB4, |
356 | 359 | "l":0xB5, |
357 | 360 | "(hl)":0xB6, |
358 | - "a":0xB7 | |
361 | + "a":0xB7, | |
362 | + "d8":0xF6 | |
359 | 363 | }, |
360 | 364 | "cp":{ |
361 | 365 | "b":0xB8, |