Xv6 with picoc & Linkage editor
v1.0
The project delineate mutual cohesion between c library, linkage editor ( linker), interpreter and operating system by porting the same on xv6 kernel
|
00001 #include <stdio.h> 00002 00003 int a = 24680; 00004 int b = 01234567; 00005 int c = 0x2468ac; 00006 int d = 0x2468AC; 00007 int e = 0b010101010101; 00008 00009 printf("%d\n", a); 00010 printf("%d\n", b); 00011 printf("%d\n", c); 00012 printf("%d\n", d); 00013 printf("%d\n", e); 00014 00015 00016 void main() {}