From 84e4ceb686dde846e8dd8ef19c912c99f9366f9d Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 25 Nov 2019 14:25:05 +0000 Subject: [PATCH] Add .mima-symbols files for existing examples --- examples/bench.mima-symbols | 15 +++++++++++++++ examples/call_ret.mima-symbols | 2 ++ examples/call_ret_stack.mima-symbols | 4 ++++ examples/fib.mima-symbols | 15 +++++++++++++++ examples/jmp_to_address_in_acc.mima-symbols | 5 +++++ examples/stack.mima-symbols | 10 ++++++++++ 6 files changed, 51 insertions(+) create mode 100644 examples/bench.mima-symbols create mode 100644 examples/call_ret.mima-symbols create mode 100644 examples/call_ret_stack.mima-symbols create mode 100644 examples/fib.mima-symbols create mode 100644 examples/jmp_to_address_in_acc.mima-symbols create mode 100644 examples/stack.mima-symbols diff --git a/examples/bench.mima-symbols b/examples/bench.mima-symbols new file mode 100644 index 0000000..01d759c --- /dev/null +++ b/examples/bench.mima-symbols @@ -0,0 +1,15 @@ +00000: zero +00001: one +00002: tmp1 +00003: max-number +00004: current-number +00005: ptr +00006: main +00009: main-loop +00018: main-loop-end +00019: fib +00029: fib-ret-0 +0002c: fib-ret-1 +0002f: fib-continue +00060: fib-cleanup +0012c: number-array diff --git a/examples/call_ret.mima-symbols b/examples/call_ret.mima-symbols new file mode 100644 index 0000000..fb864cf --- /dev/null +++ b/examples/call_ret.mima-symbols @@ -0,0 +1,2 @@ +00000: main +00005: sub diff --git a/examples/call_ret_stack.mima-symbols b/examples/call_ret_stack.mima-symbols new file mode 100644 index 0000000..d912a86 --- /dev/null +++ b/examples/call_ret_stack.mima-symbols @@ -0,0 +1,4 @@ +00000: counter +00064: main +000c8: sub-1 +0012c: sub-2 diff --git a/examples/fib.mima-symbols b/examples/fib.mima-symbols new file mode 100644 index 0000000..01d759c --- /dev/null +++ b/examples/fib.mima-symbols @@ -0,0 +1,15 @@ +00000: zero +00001: one +00002: tmp1 +00003: max-number +00004: current-number +00005: ptr +00006: main +00009: main-loop +00018: main-loop-end +00019: fib +00029: fib-ret-0 +0002c: fib-ret-1 +0002f: fib-continue +00060: fib-cleanup +0012c: number-array diff --git a/examples/jmp_to_address_in_acc.mima-symbols b/examples/jmp_to_address_in_acc.mima-symbols new file mode 100644 index 0000000..2fe5fd8 --- /dev/null +++ b/examples/jmp_to_address_in_acc.mima-symbols @@ -0,0 +1,5 @@ +00000: jump-instruction +00001: tmp +00064: technique-1 +000c8: technique-2 +0012c: end diff --git a/examples/stack.mima-symbols b/examples/stack.mima-symbols new file mode 100644 index 0000000..20d2279 --- /dev/null +++ b/examples/stack.mima-symbols @@ -0,0 +1,10 @@ +00000: tmp1 +00001: tmp2 +00002: tmp3 +00003: tmp4 +00004: tmp5 +00064: main +000c8: caller +0012c: callee +0013c: callee-loop +00146: callee-loop-end