Giter Site home page Giter Site logo

two-pass-assembler's Introduction

Two-pass-Assembler

Implemention of a two Pass Assembler for certain set of C programs. Team members: Prashant Sharma: 14ucs085 Shashwat Shalvi :14ucs109 Shubham Gupta: 14ucs116 Vidhan Jain: 14ucs141

Program 1: Check whether a number is palindrome or not.

Program 2: Selection Sort for 3 numbers.

code1.txt: Assembly language code for Program1 code2.txt: Assembly language code for Program2 opcode.txt: List of all opcodes used in assembly code and their binary representation reg.txt: List of all registers pass1.c: C program to generate label table from the assembly code pass2.c: C program to generate binary machine code using assembly code and label table genearted using pass1.c binary_to_output.c: C program to execute the binary machine code input1.txt: Number to be checked for palindrome (for code1) input2.txt: 3 numbers to be sorted (for code2) label1.txt, label2.txt: Label file generated using pass1.c binary1.txt, binary2.txt: Binary machine code generated using pass2.c

STEP1: Run pass1.c This will generate the label table for the given assembly code.

STEP2: Run pass2.c This will generate binary machine code for the given assembly code.

STEP3: Run binary_to_output.c This will execute the binary machine code generated in STEP2.

two-pass-assembler's People

Watchers

Shashwat Shalvi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.