shithub: rgbds

Download patch

ref: 46269240c84a9701804228909b81729f42a73f52
parent: b1269ab53a1158cd233a3ccd517a5bd6d6f2f850
parent: 2ff286223b49b130983994e5e76a5dcd1ad6344e
author: Anthony J. Bentley <[email protected]>
date: Thu Aug 21 07:29:34 EDT 2014

Merge branch 'update-legacy-instructions' of https://github.com/yenatch/rgbds

--- a/src/asm/gameboy/yaccprt4.y
+++ b/src/asm/gameboy/yaccprt4.y
@@ -290,6 +290,8 @@
 
 z80_ld_hl		:	T_Z80_LD T_MODE_HL comma '[' T_MODE_SP const_8bit ']'
 					{ out_AbsByte(0xF8); out_RelByte(&$6); }
+				|	T_Z80_LD T_MODE_HL comma T_MODE_SP const_8bit
+					{ out_AbsByte(0xF8); out_RelByte(&$5); }
 				|	T_Z80_LD T_MODE_HL comma const_16bit
 					{ out_AbsByte(0x01|(REG_HL<<4)); out_RelWord(&$4); }
 ;