view runtime.S @ 715:1c2020d3e275

Call z80_handle_deferred after generating an insruction handler so that instructions like rst work correctly
author Michael Pavone <pavone@retrodev.com>
date Sun, 17 May 2015 19:14:41 -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