Git Product home page Git Product logo

cpsc355's Introduction

CPSC355

My ARMv7 Assembly code for CPSC 355 2016 Fall @ University of Calgary. Author: Cam Davies

What were the assignments?

There is a .pdf document in each corresponding folder with instructions. Additionally, these are short descriptions.

  • Assignment 1 - Find the minimum value of y=2x^3 - 19x^2 + 9x + 45 with a given range. Demonstrates loops, arithmetic, if-else conditionals, and m4 macros.
  • Assignment 2 - Given C code for an integer multiplication program, implement it into ARMv8. Demonstrates bitwise logical and shift operations, branching, condition code tests, hexadecimal, and binary.
  • Assignment 3 - Given C code for an algorithm, implement it into ARMv8. Demonstrates use of stacks for local variables, addressing stack variables, assembler equates for stack variable offsets, and using/storing/addressing one-dimensional arrays on the stack.
  • Assignment 4 - Given C code with multiple subroutine/structures, implement it into ARMv8. Demonstrates implementation of structs, nested structs, and subroutines; additionally returning structs by value from a function, as well as teh use of pointers as arguments to subroutines.
  • Assignment 5 - Given C code implementing a stack data structure with an array, translate it to ARMv8. Demonstrates external variables, separate compilation, colling asm functions from main(), calling library functions from routines, and external arrays of pointers.
  • Assignment 6 - Write a program to compute the functions of e^x and e^-x using series expansions. Using double precision floating-point numbers, read input, and product output. Additionally uses input/ouput with a text file.

cpsc355's People

Contributors

ozdv avatar

Watchers

James Cloos avatar Tom Li avatar

Forkers

ishikaghosh04

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.