view runtime_32.S @ 691:74d636e85bf8

WIP of functions to determine size of x86 instruction to allow patching of arbitrary pieces of code
author Michael Pavone <pavone@retrodev.com>
date Sat, 14 Mar 2015 12:05:03 -0700
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