shithub: rgbds

Download patch

ref: 9b4d16b0d89c5364a5b60822f6fbd1d660959d04
parent: a3e95f99d2da1597feffe0fe1db8531197e86f59
author: Anthony J. Bentley <[email protected]>
date: Tue Jan 27 00:02:57 EST 2015

Add another crashing regression test.

--- /dev/null
+++ b/test/asm/divzero-instr.asm
@@ -1,0 +1,2 @@
+SECTION "sec", ROM0
+	ld  a, 1/0
--- /dev/null
+++ b/test/asm/divzero-instr.out
@@ -1,0 +1,2 @@
+ERROR:	divzero-instr.asm(2) :
+	division by zero