UY 2214 E20 Manual

CS-UY 2214 — E20 Manual Jeff Epstein 2.1 Registers……………. 2.2 Instructions………….. 2.3 Memory……………. 2.4 Comparison………….. 2.5 Subroutines ………….. 2.6 E15vsE20 ………………………………………. 11 3 Instruction set 11 3.1 Instructionswiththreeregisterarguments……………………….. 12 3.1.1 add$regDst,$regSrcA,$regSrcB………………………… 12 3.1.2 sub$regDst,$regSrcA,$regSrcB ………………………… 12 3.1.3 or$regDst,$regSrcA,$regSrcB…………………………. 12 3.1.4 and$regDst,$regSrcA,$regSrcB………………………… 12 3.1.5 slt$regDst,$regSrcA,$regSrcB…………………………. 13 3.1.6 jr$reg……………………………………… 13 3.2 Instructionswithtworegisterarguments………………………… 13 3.2.1 slti$regDst,$regSrc,imm……………………………. 13 3.2.2 […]

UY 2214 E20 Manual Read More »

UY 2214 E20 Simulator

#!/usr/bin/python3 CS-UY 2214 Jeff Epstein Starter code for E20 simulator from collections import namedtuple import argparse # Some helpful constant values that we’ll be using. Constants = namedtuple(“Constants”,[“NUM_REGS”, “MEM_SIZE”, “REG_SIZE”]) constants = Constants(NUM_REGS = 8, MEM_SIZE = 2**13, REG_SIZE = 2**16) def load_machine_code(machine_code, mem): Loads an E20 machine code file into the list provided by

UY 2214 E20 Simulator Read More »

UY 2214 Project 2 E20 Simulator

1 Introduction CS-UY 2214 — Project 2 Jeff Epstein, Ratan Dey This project represents a substantive programming exercise. Like all work for this class, it is to be completed individually: any form of collaboration is prohibited, as detailed in the syllabus. This project is considered a take-home exam. Before even reading this assignment, please read

UY 2214 Project 2 E20 Simulator Read More »

CSC258 Winter2023 Project

Academic Integrity Assembly Project: Breakout All submissions will be checked for plagiarism. Make sure to maintain your academic integrity and protect your own work. It is much better to take the hit on a lower assignment mark (just submit something functional, even if incomplete), than risk much worse consequences by committing an academic offence. 1

CSC258 Winter2023 Project Read More »

42889 41889 Assessment 1

42889 􏰀 􏰂􏰃􏰄􏰄􏰅 􏰆􏰇􏰈􏰇􏰉􏰊 2023 Faculty of Engineering and Information Technology School of Computer Science Assessment Task 1 Individual programming project: Command-line calculator Due 24 􏰋􏰌􏰍 2023 at 11:59 pm This project is worth 25% of the overall mark for this subject. Objectives The purpose of this project is to demonstrate competence in the following

42889 41889 Assessment 1 Read More »

Physics 714 Homework 3

Physics 714: Homework 3 Due Monday, March 20, 2023 5pm 1. A spinless dark matter particle χ of mass M interactions weakly with the heavy nuclei in a detector. The effective, static potential for the interaction of χ with the nucleus is given by V (⃗x) = GF δ(3)(⃗x) . (1) Following the logic used

Physics 714 Homework 3 Read More »

CS4473 CS5473 Project 4 Cuda

Project 4: Tree reduction and stencil computation in GPU (100 points) Submission guidelines: You will submit 2 files in Canvas. · a PDF report file (filename: Lastname_Firstname_Project_4_Report.pdf) · a ZIP file (filename: Lastname_Firstname_Project_4.zip) containing: · Problem_1/ · gpu_mining_problem1.cu · nonce_kernel.cu (This is provided) · hash_kernel.cu (Write this) · Makefile · support.cu (If you use it

CS4473 CS5473 Project 4 Cuda Read More »

LangProc Compilers Coursework

2022/2023 Compilers Coursework There are two components to the coursework: A C compiler, worth 90%. The source language is pre-processed C90, and the target language is RISC-V assembly. The target environment is Ubuntu 22.04, as described in the attached Dockerfile. See here for the full set of requirements and more information about the testing environment.

LangProc Compilers Coursework Read More »