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 printf("Hello world\n"); 00004 00005 int Count; 00006 for (Count = -5; Count <= 5; Count++) 00007 printf("Count = %d\n", Count); 00008 00009 printf("String 'hello', 'there' is '%s', '%s'\n", "hello", "there"); 00010 printf("Character 'A' is '%c'\n", 65); 00011 printf("Character 'a' is '%c'\n", 'a'); 00012 00013 void main() {}