diff --git a/examples/assembly.qf b/examples/assembly.qf new file mode 100644 index 0000000..df2f2b1 --- /dev/null +++ b/examples/assembly.qf @@ -0,0 +1,7 @@ +func main() { + myAssemblyFunction() +} + +asmf myAssemblyFunction() { + 0xB8 0x4C 0x00 0x00 0x00 0xC3 +} \ No newline at end of file diff --git a/examples/helloWorld.qf b/examples/helloWorld.qf deleted file mode 100644 index 123cd65..0000000 --- a/examples/helloWorld.qf +++ /dev/null @@ -1,6 +0,0 @@ -stackPut(ascii, "Hello World\0"); - -salloc(40); -mov(LC0, rip, rcx); -call(printf); -sfree(40); \ No newline at end of file