view runtime.S @ 721:20be7d01e312

Better handling of savestate and debug break events with "uncooperative" games/demos
author Michael Pavone <pavone@retrodev.com>
date Wed, 20 May 2015 23:34:12 -0700
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