Giter Club home page Giter Club logo

frasm's Introduction

frasm

MIPS assembler written in Rust

About

frasm is an assembler written in Rust speicifally for the MIPs architecture. This is my first time writing anything bigger than a Hello, World! in Rust. As of right now (Oct 2021) it is a relatively dumb assembler that is still being developed.

I am building this project for the purpose of learning rust, I have done little toy examples and hello worlds but I have yet to sit down and build out a project with it yet.

to see whats being worked on visit the projects page.

Building and Running

frasm is built in rust and uses cargo for building and package management.

To build it you just run: cargo build

To run: ./target/debug/frasm /path/to/file.asm

To build and run: cargo run /path/to/file.asm.

As of right now it takes one command line argument which is the assembly file.

frasm's People

Contributors

jacobmealey avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

frasm's Issues

Main code switches between &str and String

Not a functionality issue but, in the main.rs there is a bunch of switching between types &str and String, this is making the barrow checker fussy and the code hard to read.

frasm doesn't handle no arguments passed

Right now frasm will panic and give an error about index out of bounds (because command-line arguments are a Vec). We need to check to make sure something is being passed. On top of that, we can't just make sure we're passing something, but also that what's being passed is a file that exists AND we have access to it.

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.