Git Product home page Git Product logo

co112a's People

Contributors

ccckmit avatar

Watchers

 avatar  avatar

co112a's Issues

期中作業:請寫一個和計算機結構有關的報告/程式/專案/學習筆記/作品 (期末交,2024/1/13 日週六 24:00 前繳交完畢)

最後兩週可以來現場繳交,這樣老師會比較清楚你的作業,不需要寫太多說明,也比較不需要猜測。(如果老師需要猜測,那就會用最保守的猜測方法,意思是成績會比較差)

建議專案

  1. 從指令集開始重新設計一顆 CPU (將現成指令及簡化 ,例如 RISC-V / ARM / CPU0)
  2. 設計一個組譯器 (例如 HackCPU 的組譯器 -- 第六章習題)
  3. 設計一個虛擬器 (例如 HackCPU 的虛擬機,或者第七章指定的堆疊式虛擬機)
  4. 使用 Verilog / VHDL 等硬體描述語言,設計一個電路 (例如: ALU/CPU/乘法器/浮點運算器FPU/快速加法器 ...)

建議報告

  1. 學習筆記
  2. 閱讀一本計算機結構書的心得 ,例如
    • Computer Organization and Design RISC-V Edition
  3. 管線 pipeline 處理器的原理與設計
  4. 記憶體管理單元 MMU 的原理與設計
  5. GPU / CUDA 等繪圖處理器相關技術

注意:請註明下列事項 (例如:全部原創,有參考維基百科,但沒有剪貼)

  1. 是自己寫的(原創)/參考誰的/修改誰的/參考什麼網路資源/直接複製誰的(有看懂/沒看懂/有改過)

特別提醒

  1. 『每一題』都要標示:原創,複製或修改(修改來源)
  2. 如果全部都是原創,直接在最前面寫『全部原創』
  3. 如果全部都是複製沒修改,直接在最前面寫『全部複製 xxx 的沒修改』
  4. 如果大部分是原創,少部分修改,就在最前面寫『除了 xxx 題以外,都是原創』
    • xxx 題參考 yyy 網址,修改了 zzz 內容

hola.s 修正版程式碼

# ----------------------------------------------------------------------------------------
# Writes "Hola, mundo" to the console using a C library. Runs on Linux or any other system
# that does not use underscores for symbols in its C library. To assemble and run:
#
#     gcc hola.s && ./a.out
# ----------------------------------------------------------------------------------------

        .global main

        .text
main:
        push    %rbx                    # we have to save this since we use it

        inc     %rbx                    # rbx is originally 1
        mov     $message, %rdi          # First integer (or pointer) parameter in %rdi
        call    puts                    # puts(message)

        pop     %rbx                    # restore rbx before returning
        ret                             # Return to C library code
message:
        .asciz "Hola, mundo"            # asciz puts a 0 byte at the end

期末作業:請做完 nand2tetris 1-5 章習題 (2024/1/13 日週六 24:00 前繳交完畢)

最後兩週可以來現場繳交,這樣老師會比較清楚你的作業,不需要寫太多說明,也比較不需要猜測。(如果老師需要猜測,那就會用最保守的猜測方法,意思是成績會比較差)

習題:https://www.nand2tetris.org/course

  1. 請紀錄每一題習題的完成方法(例如:全部原創,有參考維基百科,但沒有剪貼)
    • 是自己寫的(原創)/參考誰的/修改誰的/參考什麼網路資源/直接複製誰的(有看懂/沒看懂/有改過)

特別提醒

  1. 『每一題』都要標示:原創,複製或修改(修改來源)
  2. 如果全部都是原創,直接在最前面寫『全部原創』
  3. 如果全部都是複製沒修改,直接在最前面寫『全部複製 xxx 的沒修改』
  4. 如果大部分是原創,少部分修改,就在最前面寫『除了 xxx 題以外,都是原創』
    • xxx 題參考 yyy 網址,修改了 zzz 內容

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.