Giter VIP home page Giter VIP logo

cse241-homeworks's Introduction

CSE241-Homeworks

This repository will contain all homeworks of the Gebze Institute of Technology, CSE 241 lecture, Fall 2016. Besides the source code homeworks now contains a makefile and several screenshots of the working program. There is no more a code convention to follow, coding design is personal and may have changes over time.

  • Homework #01

In this homework main.cpp works (actually simulates) as a CPU which has 5 registers and takes instructions to work on them. Takes an input .txt file which contains another program written in homework specialized assembly language and processes that text file. There are 7 instructions, which are MOV-ADD-SUB-MOV-PRN-JMP-HLT, available. Instruction definitions can be found in homework definition PDF or inside the source code.

  • Homework #02

This homework is continued version of homework 1. There are some small additions. CPU now has one more instruction which is JPN. Similar to JMP but controls if one number is smaller or equals to 0. Which provides a compare operation between numbers. Also there is now a memory which has 50 cells inside it and ready to used by CPU. Homeworks also wants a CPU Program that takes 10 numbers (random numbers given on PDF inserted to memory) and sorts them.

cse241-homeworks's People

Contributors

layso avatar

Watchers

James Cloos avatar  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.