Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rebuild md

  • Loading branch information...
commit cd1972f3fcf1e0dc1b276320e056b9b0f3f80c60 1 parent 599864c
@dharmatech authored
Showing with 23 additions and 0 deletions.
  1. +23 −0 print-literal-int.md
View
23 print-literal-int.md
@@ -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
```
Please sign in to comment.
Something went wrong with that request. Please try again.