view runtime.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 7ed1dbb48f61
children
line wrap: on
line source



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

	.global m68k_invalid
m68k_invalid:
	lea invalid_msg(%rip), %rdi
	mov %ecx, %esi
	xor %rax, %rax
	call printf
	mov $1, %rdi
	call exit