A machine, its assembly language, its assembler, and its simulator

完了済み 投稿 Aug 14, 2002 着払い
完了済み 着払い

Simple Virtual Machine (SVM) Implement a simplified virtual machine that is capable of taking an input file containing an elementary assembly language source, converting this representation to a program in your machine's simulated memory, and then executing the program. There is need for only limited support for screen output, and no run-time input facilities are requested. The virtual machine will work much like a real system: the processor will keep track of a "program counter" (an index to the memory location of the next instruction); each cycle involves the processor fetching the next instruction and any associated data from memory, decoding the instruction and performing the operation in question; this might involve additional fetches from memory, stores back to memory, or arithmetic operations on the values in the processor register StunTel 80d201 Processor: The SVM makes use of the fictional StunTel 80d201, a 16-bit processor (instructions and data are limited to 16-bit values) with 2 data registers (called R1 and R2), 2 address registers (called A1 and A2), a program counter PC and 3 flags (Z, N and O). The processor only performs arithmetic operations on values in the data registers, while address registers, as the name suggests, are used to hold addresses so that data value can be reference indirectly (a pointer if you like). A cycle for the processor consists of the following steps: Fetch the next instruction from memory (indexed by the program counter) and increment the program counter If the instruction requires fetching additional data, perform this movement of data (the destination register for the result of the operation for instance) Perform the operation specified by the instruction, setting any flags to reflect the state of the result (Z = result is 0, N = result is negative, O = result is overflow---NOTE: not all flags will have meaning for all operations), possibly adjusting the program counter in the case of a JMP instruction. THE REST OF THE PROBLEM DESCRIPTION IS IN THE FILE DESCRIPTION IN THE ZIP [url removed, login to view] HAVE A LOOK AT [url removed, login to view] I want from you is if you can, please go over the code and see if this is what is required for the project.I have given you all the files already (IN THE IP FILE).ALL you have to do is modify the [url removed, login to view] and make this project work. so BASICALLY YOU HAVE TO DEBUGG [url removed, login to view]

## Deliverables

Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.

## Platform

UNIX. using g++ compiler .

## Deadline information

I need the corrected and debugged Assembly.h and [url removed, login to view] by 1:59:59 PM EST on 08/15/[url removed, login to view] that basically is all what i need for this project .

C プログラミング エンジニアリング Linux MySQL PHP ソフトウェアアーキテクチャ ソフトウェアテスト UNIX

プロジェクトID: #2865078

プロジェクトについて

1個の提案 リモートプロジェクト アクティブ Aug 14, 2002

アワード:

muresanrobert

See private message.

$12 USD 14日以内
(61レビュー)
4.2