diff test/tmpa.c @ 748:c2c709727221

i64 continue... basic.s assembled.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 13 Nov 2010 22:39:40 +0900
parents 3f1f6c0610c1
children
line wrap: on
line diff
--- a/test/tmpa.c	Sat Nov 13 10:47:47 2010 +0900
+++ b/test/tmpa.c	Sat Nov 13 22:39:40 2010 +0900
@@ -12,7 +12,7 @@
 void
 print_param(struct enemy *e)
 {
-    printf("#0011:charno:%d   x,y:%f,%f   hp:%d\n",
+    printf("#0014:charno:%d   x,y:%f,%f   hp:%d\n",
            e->charno,e->x,e->y,e->ap);
 }
 
@@ -24,7 +24,7 @@
 } interface;
 
 __code a0(interface a) {
-    printf("#0023:%d\n",a.dest);
+    printf("#0026:%d\n",a.dest);
     goto a.ret(0,a.env);
 }
 
@@ -43,7 +43,7 @@
     e.charno=5; e.x=50.0; e.y=30.0; e.ap=100;
     print_param(&e);
 
-    printf("#0042:%d %d\n",args.VF01[2],args.VF01[1]);
+    printf("#0045:%d %d\n",args.VF01[2],args.VF01[1]);
     goto  a0(args);
 }