Giter Site home page Giter Site logo

upower's Introduction

Micropower ISA implementation

Videos are uploaded on:

https://drive.google.com/drive/folders/1x6ZXkRyPD3YazumilLAJqLHjfP6HGpEI

WORKING:

Read a line from the asm file.

Process the section of the asm file.

For the .data section, do:

  1. Generate a map/dictionary of each label and a corresponding variable.

  2. Allocate memory for the variable according to memory layout.

For the .text section, do:

  1. Interpret each command, find its format and encode it. Store the encoding as binary 64 bit number.

  2. Append number to list of instructions.

  3. For everytime the address of a label is called, fetch and store from map.

STYLE GUIDE: https://www.python.org/dev/peps/pep-0008/

Syscall:

https://www.kernel.org/doc/html/latest/powerpc/syscall64-abi.html

http://students.cs.tamu.edu/tanzir/csce350/reference/syscalls.html

register 3 is parameter/address

register 0 is the input/type of syscall

register 31 is treated as zero register.

Submitted by:

  1. Feyaz Baker - 181co119

  2. Shrvan Warke - 181co151

  3. Nihar KG Rai - 181co235

  4. Vignesh Srinivasan - 181co258

upower's People

Contributors

starbr3aker avatar niharrai avatar vigneshs17 avatar shadowfox144 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

upower's Issues

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.