淡江大學機構典藏:Item 987654321/34177
English  |  正體中文  |  简体中文  |  全文筆數/總筆數 : 64176/96941 (66%)
造訪人次 : 9164178      線上人數 : 13275
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
搜尋範圍 查詢小技巧:
  • 您可在西文檢索詞彙前後加上"雙引號",以獲取較精準的檢索結果
  • 若欲以作者姓名搜尋,建議至進階搜尋限定作者欄位,可獲得較完整資料
  • 進階搜尋
    請使用永久網址來引用或連結此文件: https://tkuir.lib.tku.edu.tw/dspace/handle/987654321/34177


    題名: Java正反組譯器
    其他題名: Java assembler and disassembler
    作者: 凃冠名;Twu, Kuan-ming
    貢獻者: 淡江大學資訊管理學系碩士班
    廖賀田;Liaw, Heh-tyan
    關鍵詞: Java;組合語言;組譯;反組譯;Java;Assembly;Assemble;Disassemble
    日期: 2006
    上傳時間: 2010-01-11 05:00:09 (UTC+8)
    摘要: Java語言具有完整的跨平台特性,也就是說它的程式碼既與電腦廠牌無關,也與作業系統無關。由Java原始程式碼經過編譯後的Java位元組碼可以在各種平台的Java虛擬機上執行。Java程式在執行上比C/C++語言稍慢,在保持跨平台特性的前提下,我們可以藉由直接撰寫位元組碼來提昇Java程式的效能。

    Java虛擬機的規格書只定義出稱為位元組碼的機器語言,而未定義Java組合語言。本論文分析Java虛擬機的位元組碼,定義出一套Java組合語言,並為它製作正組譯器與反組譯器。正組譯器負責讀入程式員撰寫的Java組合語言檔,將它組譯成位元組碼。而反組譯器負責讀入位元組碼,將它反組譯成Java組合語言檔。

    本論文的Java組合語言在功能上比目前網路上流傳的各種Java組合語言都完整。本論文的正組譯器與反組譯器不但可以用來增進程式效能,更可以用來作為學習Java虛擬機與位元組碼的優良工具。
    Java is a completely Platform-Independent programming language. In other words, we don’t have to concern about what brand or Operating System our computers are. The Java Bytecode, compiled from the source code, can be executed on the Java Virtual Machines implemented for various platforms. The executing speed of Java is slightly slower than that of C/C++. With the prerequisite in maintaining the capability of platform-independency, we can improve the performance of the Java programs by rewriting the Bytecodes.

    The Java Virtual Machine Specification only defines the machine language called Bytecode, but no definition about Java Assembly Language. In this thesis, we analyze the Bytecode of the Java Virtual Machine, bring up a Java Assembly Language, and implement a supporting Assembler/ Disassembler. The Assembler reads in the Java Assembly files written by the programmers and outputs the Java Bytecodes. The Disassembler reads in the Java Bytecodes and Disassemble them to the Java Assembly files as its output.

    The functions of the Assembly Language we bring up in this thesis are much more complete than other existing Assembly. The Assembler/ Disassembler implemented in this thesis can be used not only to improve the performance of the applications but also as an excellent tool for learning the Java Virtual Machine and the Bytecode.
    顯示於類別:[資訊管理學系暨研究所] 學位論文

    文件中的檔案:

    檔案 大小格式瀏覽次數
    0KbUnknown780檢視/開啟

    在機構典藏中所有的資料項目都受到原著作權保護.

    TAIR相關文章

    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library & TKU Library IR teams. Copyright ©   - 回饋