Coder Social home page Coder Social logo

avivnaaman / openu-c-project Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 5.0 564 KB

Double-pass assembler, written in ANSI C90 for an imaginary 24-bit computer.

License: MIT License

CMake 0.88% C 87.02% Makefile 1.74% AngelScript 4.45% Shell 0.36% ActionScript 5.56%
24-bit ansi-c assembler c openuniversity

openu-c-project's Introduction

It's awesome to have you here ๐Ÿคฉ

My name is Aviv, and my line of work is currently Computer Vision & Machine Learning.

I'm into it, as long as it makes me think.

  • B.Sc. Student in Comuter Science ๐Ÿ’ป
  • Currently in love with ๐Ÿ
  • C(++|#)? => Great.
  • Researsching is my passion.
  • Nothing more refreshing than a cup of coffee and some gradients {โ„,โ„‚, or [0,โˆž)?}

openu-c-project's People

Contributors

avivnaaman avatar yotamgranot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openu-c-project's Issues

TASKS LEFT TODO

TODO

  • 1.1 Set IC=100, DC=0

  • 1.2 Read first line, skip to 1.17 if done

  • 1.3+1.4 Is symbol? set flag

  • 1.5+1.6 if .data or .string, store the symbol with DC in data table (error if already exists).

  • 1.7 encode the data into the data array,, andi increase DC by the length needed (increase by 1 for each data section (char/number))

  • 1.8+1.9+1.10 if extern, inert the symbol into extern table. read next line.

  • 1.11 otherwise, it's instruction. insert symbol if there's one to the code table

  • 1.12 check if it's valid command (like add, jmp..). if not, make sure an error is printed!

  • 1.13 analyze the operand structure of the command

  • 1.14 Build the binary code of the first instruction's word, and every other immediately-encoded data value (#)

  • 1.15 Keep the values of L & IC for next stage

  • 1.16 update IC=IC+L

  • 1.17 Print any error f found and halt the program

  • 1.18 Save IC as ICF and DC as DCF

  • 1.19 Increase each .data value by ICF

  • 1.20 Start 2nd pass

  • 2.1 read next line, if done skip to 7

  • 2.2 if label (symbol) skip

  • 2.3+2.4+2.5 if entry, add it to entries table (only if exists in code table!)

  • 2.6 complete replacement by symbols

  • 2.7 stop and print errors

a little help with c project

hi there!
I saw your final project from three years ago (ืžืขื‘ื“ื” ื‘ืชื›ื ื•ืช ืžืขืจื›ื•ืช), and I was wondering if I can get some help on how to do this project.
I've read all the instructions and seen multiple lectures explaining the project and even though I understood all of what was explained I still have no idea how to start and what to actually write in code and where to begin. I was hoping you might be able to help me.
I am also willing to pay you if you want if you can write the project for me, the due date is August 11, so there isn't much time left if at all.
thank you regardless.

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.