view runtime_32.S @ 613:09d5adf8d1ca

Fix opsize for sbcd in 68K instruction decoder. This fixes the timer bug in Strider 2
author Michael Pavone <pavone@retrodev.com>
date Sun, 28 Dec 2014 17:58:43 -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