view runtime_32.S @ 683:70de0bdf8e97

Move detect_region down so that it once again occurs after load_rom since it won't work before the ROM is loaded
author Michael Pavone <pavone@retrodev.com>
date Tue, 06 Jan 2015 19:09:00 -0800
parents 5a6ff0d76032
children
line wrap: on
line source



invalid_msg:
	.asciz "Invalid instruction at %X\n"

	.global m68k_invalid
m68k_invalid:
	push %ecx
	push invalid_msg
	xor %eax, %eax
	call printf
	push $1
	call exit