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[4]; 00004 00005 a[0] = 12; 00006 a[1] = 23; 00007 a[2] = 34; 00008 a[3] = 45; 00009 00010 printf("%d %d %d %d\n", a[0], a[1], a[2], a[3]); 00011 00012 int b[4]; 00013 00014 b = a; 00015 00016 printf("%d %d %d %d\n", b[0], b[1], b[2], b[3]); 00017 00018 void main() {}