File:  [Tom Morton FrontierVM] / frontvm / as68k / .test.s.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:57:46 2018 UTC (8 years, 3 months ago) by root
Branches: frontvm, MAIN
CVS tags: frontvm2-20061120, HEAD
Tom Morton

void Init680x0 () {
	return load_binfile ("test.s.o");
}
void Start680x0 ()
{
	s32 i, jdest = 0x1c + LOAD_BASE;
	load_binfile ("test.s.o");
	Regs[15].u32 = MEM_SIZE;

jumptable:
	switch (jdest) {
__l1c:	case (0x1c + LOAD_BASE):
	(* hcalls[4]) ();
__l20:	case (0x20 + LOAD_BASE):
	Regs[8].u32 = __Dhello_world;
__l24:	case (0x24 + LOAD_BASE):
	__F26 ();
__l26:	case (0x26 + LOAD_BASE):
	(* hcalls[0]) ();
__Nevent_loop:
__l2a:	case (0x2a + LOAD_BASE):
	if (1)
	{
	if (exceptions_pending) {
		rdest = __Devent_loop;
		goto handle_exception;
	} else {
	goto __Nevent_loop;
	}}
__Nhello_world:
__l2e:	case (0x2e + LOAD_BASE):
	__F30 ();
__l30:	case (0x30 + LOAD_BASE):
	__F32 ();
__l32:	case (0x32 + LOAD_BASE):
	__F34 ();
__l34:	case (0x34 + LOAD_BASE):
	__F36 ();
__l36:	case (0x36 + LOAD_BASE):
	__F38 ();
__l38:	case (0x38 + LOAD_BASE):
	__F3a ();
__l3a:	case (0x3a + LOAD_BASE):
	__F3c ();
__l3c:	case (0x3c + LOAD_BASE):
	__F3e ();
__l3e:	case (0x3e + LOAD_BASE):
	__F40 ();
__l40:	case (0x40 + LOAD_BASE):
	__F42 ();
__l42:	case (0x42 + LOAD_BASE):
	__F44 ();
__l44:	case (0x44 + LOAD_BASE):
	(* hcalls[2]) ();
__l48:	case (0x48 + LOAD_BASE):
	Regs[8].u32 = __Dstr;
__l4c:	case (0x4c + LOAD_BASE):
	__F4e ();
__Nloop:
__l4e:	case (0x4e + LOAD_BASE):
	__F50 ();
__l50:	case (0x50 + LOAD_BASE):
	Regs[15].s32 -= 4;
	STMemory_WriteLong (Regs[15].s32, __D52);
	{
	if (exceptions_pending) {
		rdest = __Dprint;
		goto handle_exception;
	} else {
	goto __Nprint;
	}}
__l52:	case (0x52 + LOAD_BASE):
	if (nZ)
	{
	if (exceptions_pending) {
		rdest = __Dloop;
		goto handle_exception;
	} else {
	goto __Nloop;
	}}
__l54:	case (0x54 + LOAD_BASE):
	__F5a ();
__Nloop2:
__l5a:	case (0x5a + LOAD_BASE):
	__F5c ();
__l5c:	case (0x5c + LOAD_BASE):
	__F5e ();
__l5e:	case (0x5e + LOAD_BASE):
	__F60 ();
__l60:	case (0x60 + LOAD_BASE):
	if (nZ)
	{
	if (exceptions_pending) {
		rdest = __Dloop2;
		goto handle_exception;
	} else {
	goto __Nloop2;
	}}
__l62:	case (0x62 + LOAD_BASE):
	jdest = rdest;
	rdest = 0;
	goto jumptable;
__Nprint:
__l64:	case (0x64 + LOAD_BASE):
	(* hcalls[1]) ();
__l68:	case (0x68 + LOAD_BASE):
	jdest = STMemory_ReadLong (Regs[15].u32);
	Regs[15].s32 += 4;
	goto jumptable;
__Nstr:

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.