Git Product home page Git Product logo

computer-architecture-ass's Introduction

Computer-architecture-Ass

in MIPS architecture

Yêu cầu

  • Sử dụng tập lệnh MIPS để hiện thực các thủ tục bên dưới.
  • Thống kê số lệnh, loại lệnh (instruction type) của mỗi chương trình.
  • Tính và trình bày cách tính thời gian chạy của chương trình trên máy tính kiến trúc MIPS có tần số 3.4 GHz.
  • Code:
    – Code style phải rõ ràng, có comment, phân hoạch công việc theo từng hàm, CHỈ DÙNG LỆNH MIPS CHUẨN.
    – Truyền nhận và trả kết quả khi gọi hàm theo quy ước của thanh ghi (thanh ghi $a argument, thanh ghi $v giá trị trả về khi gọi hàm).
    – Xuất kết quả để kiểm tra.

Đề

Đề 1: (2sv) Cộng, trừ 2 số thực.

Cho 2 số thực dạng chuẩn (Standard Floating Point IEEE 754) A và B với độ chính xác đơn (32 bit). Sử dụng hợp ngữ assembly MIPS, viết thủ tục cộng (trừ) hai số A, B.

Đề 2: (2sv) Nhân 2 số thực

Cho 2 số thực dạng chuẩn (Standard Floating Point) A và B với độ chính xác đơn (32 bit). Sử dụng hợp ngữ assembly MIPS, viết thủ tục nhân hai số A, B.

Đề 3: (2sv) Chia 2 số thực

Cho 2 số thực dạng chuẩn (Standard Floating Point) A và B với độ chính xác đơn (32 bit). Sử dụng hợp ngữ assembly MIPS, viết thủ tục chia hai số A, B.

Đề 4: (2sv) Nhân 2 thanh ghi.

Cho 2 thanh ghi A (64 bit) và thanh ghi B (64 bit). Sử dụng hợp ngữ assembly MIPS để hiện thực phép nhân 2 thanh ghi đó. Kết quả được xuất ra console(hiển thị ở dạng HEX và dạng thập phân), bit cao của thanh ghi là bit dấu.

computer-architecture-ass's People

Contributors

lephongplus2016 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.