• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Emily's Z80 assembler for the Gameboy.


Commit MetaInfo

Revisión93244bf43bc6f10608fe1ca042016b98c876e252 (tree)
Tiempo2021-02-05 17:04:52
AutorAlaskanEmily <emily@alas...>
CommiterAlaskanEmily

Log Message

Add some missing opcodes with immediate values

Cambiar Resumen

Diferencia incremental

--- a/em_gb_asm.py
+++ b/em_gb_asm.py
@@ -295,7 +295,8 @@ SOME_ARGS = {
295295 "(hl)":0x86,
296296 "a":0x87,
297297 "hl":{ "sp":0x39 },
298- "sp":{ "r8":0xE9 }
298+ "sp":{ "r8":0xE9 },
299+ "d8":0xC6
299300 },
300301 "adc":{
301302 "b":0x88,
@@ -315,7 +316,8 @@ SOME_ARGS = {
315316 "h":0x94,
316317 "l":0x95,
317318 "(hl)":0x96,
318- "a":0x97
319+ "a":0x97,
320+ "d8":0xD6
319321 },
320322 "sbc":{
321323 "b":0x98,
@@ -335,7 +337,8 @@ SOME_ARGS = {
335337 "h":0xA4,
336338 "l":0xA5,
337339 "(hl)":0xA6,
338- "a":0xA7
340+ "a":0xA7,
341+ "d8":0xE6
339342 },
340343 "xor":{
341344 "b":0xA8,
@@ -355,7 +358,8 @@ SOME_ARGS = {
355358 "h":0xB4,
356359 "l":0xB5,
357360 "(hl)":0xB6,
358- "a":0xB7
361+ "a":0xB7,
362+ "d8":0xF6
359363 },
360364 "cp":{
361365 "b":0xB8,