diff options
Diffstat (limited to 'Examples')
| -rw-r--r-- | Examples/ExampleCPlusPlus.cxx | 11 | ||||
| -rw-r--r-- | Examples/ExampleCPlusPlus.s | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/Examples/ExampleCPlusPlus.cxx b/Examples/ExampleCPlusPlus.cxx new file mode 100644 index 0000000..38bf0c5 --- /dev/null +++ b/Examples/ExampleCPlusPlus.cxx @@ -0,0 +1,11 @@ +int main(int argc, char const *argv[]) +{ + struct ExampleCPlusPlus + { + int example_data; + }* example; + + example->example_data = 0; + + return 0; +} diff --git a/Examples/ExampleCPlusPlus.s b/Examples/ExampleCPlusPlus.s new file mode 100644 index 0000000..328bce7 --- /dev/null +++ b/Examples/ExampleCPlusPlus.s @@ -0,0 +1,14 @@ +; Path: Examples/ExampleCPlusPlus.cxx +; Language: MPCC assembly. (Generated from C++) +; Date: 2024-5-11 + +#bits 64 + +#org 0x1000000 + +
+
+lea %LEFT+%OFFSET
+
+mov rax, %A0
+ret
\ No newline at end of file |
