Showing posts with label System Software. Show all posts
Showing posts with label System Software. Show all posts

Monday, June 13, 2011

Symbol Table Creation


#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#include<string.h>


struct list
{
char la[50];
char mne[50];
char op[50];
}a[50];

Sunday, June 12, 2011

Relocatable Loader


//relocatable loader
/*
THIS IS THE INPUT FILE.SAVE IT AS "linput.txt"( USE NOTEPAD).
H COPY000000 001073
T 00000010 15140033 481039 100036 280030 300015 481061 311003 200030 211033 200033
T 000011 19 045412036 481061 380033 412000 454196 100003 200000
T 000031 15 135140030 430030 141013 301044 241064 210030 301057 543039 212064 381045
T 000058 05 056 100036 520000 151
T 000065 19 080340030 141079 301064 503039 152079 220036 381064 430000 25
E 000000 */
#include<conio.h>
#include<string.h>
#include<stdlib.h>
#include<stdio.h>
struct obj_code
{int locctr;
char add[10];
}obcode[300];
void main()