THIS IS SMALL PROJECT OF MINE WILL IT COULD MAKE VM OF COMPILER FOR ANYWAYS THAT NO NEED OF COMPUTER MEMRYR JUTS MALLOC AND CALLOC AND FUNCTIO OF CAND C+++ WOULD WORK FOR CALCUALTIONS
main
{
//we define malloc size
a[] = int {malloc(23),malloc(11),malloc(34)}
time t = time()
time t = timestamp();
file f= file();
f.write(a[])
b[]= int{calloc(24),calloc(23),calloc(34)}
file f1 = new file ();
f1.write(b[]);
if(f==f1)
then
struct abt{malloc(23)}=f1.get(0);
struct bcd{malloc(11)}=f1.get(1);
struct efg{malloc(34)}=f1.get(2);
calloc(24){struct abt malloc(23)}
calloc(25){struct} bcd malloc(11)}
calloc(34){struct}efg malloc(34)}
for(operation over byte by devision of 2 )
then
if(1010101010101)
101 = f1.get(0)=struct abt{malloc(23)}]
010 =f1.get(1)=struct bcd{malloc(11)}]
same wfor other
then make the linked list pair of this mallocs then retunr all pointer and thne make the pairs of memories
same for callocs that takes integers
and we make so we use callocs for bytes and store bytes and memore linkings them
all will be memory linking will be done malloc and calloc linking then linking will safe as a structures means structures of linked list and then in file
both will be as strctutures will be safes
struct{
malloc *ptr;
calloc *ctr;
next line we point the all byte oriented malloc and calloc with each others and pointers of them by that means pointer and counter that we make by that
all malloc and calloc we so all mmery p[ahes is become ready and now byte space we made by the byte spaces now we want to write thta we will compile that with that like
intger that is fload and charcter so we trasform so we write some thing in malloc and calloc space about the file and by the use linked list we searghc for the integers
as byte trasnform that what is prupse as byte whne we got the byte definitions example we mkae malloc and callon why we male malloc to make permannet ram calloc for byte to zero so
memerry will read as ram and mmery willr ea to make zero so intger default value will be 0 that we will put in calloc and malloc ww will define all the definiosn so file
we will creates and make extension waht we make for that vm of anby kind of then now intege so default there would be 0 then intergte in malloc we will put integer defintion in byte fomr
that we will wruite in whta we wnat to write means interget 1 to 9 we said and we wnat to prfrom 9*10 operation so tehse oepration limit in the malloc we will define to use
computer mmery too but if we dont wnat to use computer we could mallolc and block to do it there is no need of compter mpery you need only byte to do this logic to performs this logic is differ to creates vm
}
f.open()
f.write
f.seqeuncebyte();
}
Comments
Post a Comment