notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
translate: fix an issue with ebp arg
[ia32rtools.git]
/
tests
/
reg_call5.expect.c
diff --git a/tests/reg_call5.expect.c
b/tests/reg_call5.expect.c
new file mode 100644
(file)
index 0000000..
d3571e1
--- /dev/null
+++ b/
tests/reg_call5.expect.c
@@ -0,0
+1,11
@@
+int sub_test()
+{
+ union { u32 d[2]; u8 b[8]; } sf;
+ u32 eax;
+
+ sf.d[0] = 1; // var_8
+ ebpcall_func((u32)&sf.b[sizeof(sf)]); // bp_ref
+ eax = 0;
+ return eax;
+}
+