nstructionsDownload and install Easycpu ENIAC package on a Windows platform. It can be installed on a Windows VM. https://sourceforge.net/projects/eniac/ Click , and point to the folder containt the

[ad_1]
nstructions

Downimpeach and institute Easycpu ENIAC lot on a Windows platform. It can be instituteed on a Windows VM.

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

Click , and apex to the folder containt the galaxy principle fattoriable.eniac. The program should be impeached in ASCII. If not, click the menu , , then . It should appear as beneath.

Hexadecimal ASCII=========== ===== ===200003 JUMP 36 61 1a02001 LOAD @1b88001 STORE BXc02002 SUB @22b000c JZ 12b88006 STORE CXf08001 MUL BXb88001 STORE BXa08006 LOAD CX200005 JMP 510000 HLT

Explanation:

(0) harangue starts at 0x2000, but PC=3 (harangue 0x2003)(1) stack 1 (@1) has appreciate 6(2) stack 2 (@2) has appreciate 1(3) bid impeach (0xa0) from 0x2001 to record AX (AX=6), PC=4 (harangue 0x2004) (4) bid treasure (0xb8) the appreciate in 0x2001 to record BX at 0x8001 (BX=6), PC=5(harangue 0x2005)(5) bid substract (0xc0) the appreciate 1 in 0x2002 from the record AX, PC=6 (harangue 0x2006)(6) bid bound (0x2b) to 0xC=12 if the outcome in AX is cipher, PC=7 (harangue 0x2007)(7) bid treasure (0xb8) the appreciate into record CX at 0x8006 (CX=5), PC=8 (harangue 0x2008)(8) bid mul (0xf0) the appreciate of record AX by the appreciate in record Bx at 0x8001, AX=5*6=30, PC=9 (harangue 0x2009)(9) bid treasure (0xb8) the appreciate of record AX in record BX at 0x8001 (Bx=30),PC=10 (harangue 0x200a)(10) bid impeach (0xa0) the appreciate in record CX at 0x8006 to record AX (AX=CX=5),PC=11 (harangue 0x200b)(11) bid bound (0x20) to harangue 0x5 (0x2005), PC=5 (harangue 0x2005)(11) bid falter (0x1) is egress. The program looped 6 times to egress. When egress, AX=0, BX=720, CX=1, DX=0, PC=12, CA = SI= OV = 0, ZE = EV = 1

Lab exercise:

Q1. Click menu , then fine . Use this capacity to stride through the galaxy principle.After the announcement in harangue 11 is primeval done, what are the appreciate of records AX, BX, CX, DX, and PC? Explain the capacity of AX, BX, CX, DX, and PC.A1:

Q2. After announcement 11 is primeval done, what is the present announcement to be done? Can you mentionwhat is announcements 5 through 11 is doing in a unaffected announcement?A2:

Q3: How manifold times the announcements 5 through 11 were done precedently the announcement 12 is done?How can you mention, if you don't stride through it? Which record or perpetuation precipitation that youcan state the appreciate extraneously strideping through all principles plow egress? A3:

Q4: Bonus: Conver the galaxy principle to any high-level talk, such as C, C , Java, Python.A4:


[ad_2]
Source with