Posts

CS1521 | COMP1521 | Assignment 1: Breakout in MIPS

Aims to give you experience writing MIPS assembly code to give you experience translating C to MIPS to give you experience with data and control structures in MIPS Getting Started Create a new directory for this assignment called  breakout , change to this directory, and fetch the provided code by running these commands: mkdir -m 700 breakout cd breakout 1521 fetch breakout If you're not working at CSE, you can download the provided files as a  zip file  or a  tar file . This will add the following files into the directory: breakout.s : a  stub  MIPS assembly file to complete. breakout.c : a reference implementation of Breakout in C. breakout.simple.c : a copy of the reference implementation of Breakout, for you to simplify. input.txt : example input file. breakout.mk : a  make  fragment for compiling  breakout.c .

CSS 422(CSS422) Final Project: 68K Disassembler

 Project Description • See the canvas for the project description • Progress reports • Confidential evaluation • Specification (how to program, etc.) • Deliverable (what to submit, when, how) • Simulator issues and Easy68k bug report (reported by students from previous class) • Grading standards • Required op-code and EA • Addendum (additional information, will be continuously updated) What is a disassembler? • Disassembler (also called an Inverse Assembler ): – Scans a section of memory, and – Attempts to convert the memory’s contents to a listing of valid assembly language instructions • Most disassemblers cannot recreate symbolic, or label information • Disassemblers can be easily fooled by not starting on an instruction boundary • How it works: – The disassembler program parses the op-code word of the instruction and then decides how many additional words of memory need to be read in order to complete the instruction – If necessary, reads additional instruction words – The di...

CS2041 | COMP2041 | Assignment 1: Give

  Aims This assignment aims to give you practice in Shell programming generally Introduction You are going to implement simple but functional versions of  give  and  autotest . Your task in this assignment is to write 8 shell scripts named  give-add   give-submit   give-summary   give-status   give-fetch   give-autotest   give-mark   give-rm .

CS0449 | CS0449-2244 | Project 2: What's the Password? -- Intro to Systems Programming

Project 2: What's the Password? Description Throughout most of your CS studies, you work creating or modifying programs or computers – in a word: building. However, sometimes the best way to learn about something is to break it. In this project you will be deconstructing existing programs that each have a secret password or passphrase that needs to be input in order to unlock the program. I am providing you with 3 compiled executables. Each one requires you to enter a sequence of ASCII characters to "unlock." Unlocking the programs will draw upon the things we are studying this term. You will also write a tool to help you with solving the first program. In UNIX/Linux, there is a program called strings that dumps out the sequences of ASCII characters that are 4 or more characters long. Part 1: mystrings (40 points) The mystrings program should take a filename from the command line and read the bytes of the file, looking for strings of printable characters (ASCII values bet...

CMPUT 229 – Assignment #3

You are participating in the Computing Science Industrial Internship Program and your placement is with Tiny Inc., a company that produces TinyProc— a new processor de veloped for the automobile industry. All instructions in TinyProc have 16 bits. TinyProc also works with 16-bit addresses. The format of a branch instruction in TinyProc is as shown below: Where rs and rt specify the source and target registers for the branch instruction, respectively. The address of the target of a branch instruction is computed using the same mechanism used in the MIPS processor, but the increment of the PC and the shift left have to be adjusted for a 16-bit address machine: first the Program Counter (PC) is incremented by two, then the bitfield address of the branch instruction is shifted left by one, sign-extended to sixteen bits, and added to the incremented PC. There are two branch instructions in the Instruction Set Architecture of TinyProc. The opcode for beq is 010 and the opcode for blt is 011....

Get Help from Us

Name

Email *

Message *