Git Product home page Git Product logo

cse1400assignments's Introduction

CSE 1400 Mandatory and Bonus assignments

This repository hosts all of the source code to the assignments (Y1Q1) for Computer Organisation (CSE1400).

This code was written for the mandatory and bonus assignments of CSE1400 at TU Delft. This repository organizes each project into its own folder to avoid using many repositories.

Codestyle

  • The code hosted in this repository will be indented using TABS.
  • Any instructions will be indented using a SINGLE tab.
  • All instructions require a postfix expression to be specified explicitly to avoid any ambiguity or confusion.
  • Please refer to section 1.3 of the "Lab Assigment Manual" for the Rules, Regulations and Etiquette.
  • Subroutines must contain both a prologue and epilogue.
  • To exit the main function, thus the program, call exit.

Useful links:

Optimizing assembly

https://www.agner.org/optimize/

Brainfuck optimization strategies

http://calmerthanyouare.org/2015/01/07/optimizing-brainfuck.html

https://www.nayuki.io/page/optimizing-brainfuck-compiler

Jumptable: http://www.cs.umd.edu/~waa/311-F09/jumptable.pdf

JIT: https://toastedcornflakes.github.io/articles/jit-brainfuck.html

https://github.com/rdebath/Brainfuck

x86-64 simplified

https://treeniks.github.io/x86-64-simplified/

Documentation for the GNU Assembler:

http://microelectronics.esa.int/erc32/doc/as.pdf

https://sourceware.org/binutils/docs/as/

GNU Assembler Examples:

https://cs.lmu.edu/~ray/notes/gasexamples/

Lab documentation

Please refer to Brightspace to obtain a copy for the "Lab Assignment Manual" and "Lab Content Manual". The "Lab Assignment Manual" describes the specification for each mandatory or bonus assignment. Secondly, it describes how to get started with assembly and also how to debug it.

The "Lab Content Manual" describes and explains the GNU assembly programming language, containing all of the useful information needed to code in x86-64.

cse1400assignments's People

Contributors

ancientkingg avatar systematicc avatar

Watchers

 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.