From e2fcea07eca10bf925e450dc1c2ce60735da16c2 Mon Sep 17 00:00:00 2001 From: Niklas Halle Date: Tue, 21 Apr 2020 23:05:26 +0200 Subject: initial - basic makefile and main.c --- main.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 main.c (limited to 'main.c') diff --git a/main.c b/main.c new file mode 100644 index 0000000..4f4e1a9 --- /dev/null +++ b/main.c @@ -0,0 +1,21 @@ +#include + +#if !defined(NDEBUG) + #define TRACE(MSG) \ + fprintf(stderr, "%s\n", #MSG) +#else + #define TRACE(MSG) +#endif + +int main(int argc, char *argv[]) { + TRACE(pre assembly); + __asm__("" + : + : + : + ); + TRACE(post assembly); + return 0; +} + +/* https://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html */ \ No newline at end of file -- cgit v1.2.3-54-g00ecf