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 Count; 00004 int Array[10]; 00005 00006 for (Count = 1; Count <= 10; Count++) 00007 { 00008 Array[Count-1] = Count * Count; 00009 } 00010 00011 for (Count = 0; Count < 10; Count++) 00012 { 00013 printf("%d\n", Array[Count]); 00014 } 00015 00016 void main() {}