Computer Assignment | Homework Help Websites

Instructions

Download and install Easycpu ENIAC package on a Windows platform. It can be installed on a Windows VM.

Don't use plagiarized sources. Get Your Custom Essay on
Computer Assignment | Homework Help Websites
GET AN ESSAY WRITTEN FOR YOU FROM AS LOW AS $13/PAGE
Order Essay

https://sourceforge.net/projects/eniac/

Click <File>, <New> and point to the folder <example> containt the assembly code fattoriable.eniac.
The program should be loaded in ASCII. If not, click the menu <cpu>, <address format>, then <symbol>. It should look as below.

Hexadecimal              ASCII
===========          ===== ===
200003                     JUMP 3
6                                6
1                                1
a02001                      LOAD @1
b88001                      STORE BX
c02002                      SUB @2
2b000c                      JZ 12
b88006                     STORE CX
f08001                      MUL BX
b88001                     STORE BX
a08006                     LOAD CX
200005                    JMP 5
10000                      HLT

Explanation:

(0) address starts at 0x2000, but PC=3 (address 0x2003)
(1) stack 1 (@1) has value 6
(2) stack 2 (@2) has value 1
(3) command load (0xa0) from 0x2001 to register AX (AX=6), PC=4 (address 0x2004)
(4) command store (0xb8) the value in 0x2001 to register BX at 0x8001 (BX=6), PC=5(address 0x2005)
(5) command substract (0xc0) the value 1 in 0x2002 from the register AX, PC=6 (address 0x2006)
(6) command jump (0x2b) to 0xC=12 if the result in AX is zero, PC=7 (address 0x2007)
(7) command store (0xb8) the value into register CX at 0x8006 (CX=5), PC=8 (address 0x2008)
(8) command mul (0xf0) the value of register AX by the value in register Bx at 0x8001, AX=5*6=30, PC=9 (address 0x2009)
(9) command store (0xb8) the value of register AX in register BX at 0x8001 (Bx=30),
PC=10 (address 0x200a)
(10) command load (0xa0) the value in register CX at 0x8006 to register AX (AX=CX=5),
PC=11 (address 0x200b)
(11) command jump (0x20) to address 0x5 (0x2005), PC=5 (address 0x2005)
(11) command halt (0x1) is exit. The program looped 6 times to exit.
When exit, AX=0, BX=720, CX=1, DX=0, PC=12,
CA = SI= OV = 0, ZE = EV = 1

Lab exercise:

Q1. Click menu <CPU>, then select <step by step>. Use this function to step through the assembly code.
After the statement in address 11 is first executed, what are the value of registers AX, BX, CX,
DX, and PC? Explain the function of AX, BX, CX, DX, and PC.
A1:

Q2. After statement 11 is first executed, what is the next statement to be executed? Can you tell
what is statements 5 through 11 is doing in a simple statement?
A2:

Q3: How many times the statements 5 through 11 were executed before the statement 12 is executed?
How can you tell, if you don’t step through it? Which register or memory location that you
can determine the value without stepping through all codes till exit?
A3:

Q4: Bonus: Conver the assembly code to any high-level language, such as C, C++, Java, Python.
A4:

Grand Paper Writers
Order NOW For A 10% Discount!
Pages (550 words)
Approximate price: -

Our Advantages

Plagiarism Free Papers

All papers are written by the best professional writers to ensure 100% originality. We always provide plagiarism reports whenever we deliver completed papers.

Free Revisions

All papers by Grand Paper Writers are completed and submitted on time. This timely delivery of papers gives you time to go through the paper before the official deadline.

Title-page

As an additional service, we will provide a title page that precedes the contents of your paper. Here, you will provide your personal details.

Bibliography

We also ensure that we provide an extra page for the references or bibliographies following referencing rules.

Originality & Security

At Grandpaperwriters.com, we guarantee students for the provision of security and original work. All your personal information is handled with confidentiality and is not shared with third parties. Additionally, we ensure that we provide original content with accompanying plagiarism reports to show originality.

24/7 Customer Support

Our customer support team is always available 24/7 to provide instant responses to any queries raised by students.

Try it now!

Calculate the price of your order

We'll send you the first draft for approval by at
Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Grandpaperwriters.com has the best professional essay writers for quality services.

Pricing

Flexible Pricing

Here, a Grandpaperwriters.com, we do not compromise on the time of our clients. We always deliver all completed papers on or before the deadlines.

Communication

Admission Help & Client-Writer Contact

Grandpaperwriters.com provides an interactive portal where students can communicate directly to their writers.

Deadlines

Paper Submission

Here, a Grandpaperwriters.com, we do not compromise on the time of our clients. We always deliver all completed papers on or before the deadlines.

Reviews

Customer Feedback

Grandpaperwriters.com appreciates feedback from our clients to help us improve the delivery of essay writing services. As such, we are constantly changing our policies to ensure maximum customer and writer satisfaction.