Permalink
Browse files

rebuild md

  • Loading branch information...
1 parent 599864c commit cd1972f3fcf1e0dc1b276320e056b9b0f3f80c60 @dharmatech committed Jul 23, 2011
Showing with 23 additions and 0 deletions.
  1. +23 −0 print-literal-int.md
View
@@ -4,11 +4,34 @@
# C
```c
+
+#include <stdio.h>
+
+int main ()
+{
+ printf ( "%i\n" , 123 ) ;
+
+ return 0 ;
+}
```
# Assembly
```s
+
+ .include "utils.s"
+
+ global_text main
+
+ prepare_stack
+
+ mov $123 , %rax
+
+ print_int %rax
+
+ print_nl
+
+ return_integer $0
```

0 comments on commit cd1972f

Please sign in to comment.