view runtime.S @ 699:d8a1fdec68fc

Fix frame counter increment and VINT cycle time calculation
author Michael Pavone <pavone@retrodev.com>
date Mon, 11 May 2015 20:30:35 -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