Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Execute-Computer-Zero/00-TASK.txt
Normal file
14
Task/Execute-Computer-Zero/00-TASK.txt
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{{implementation|Computer/zero Assembly}}
|
||||
{{omit from|Computer/zero Assembly}}
|
||||
|
||||
;Task:
|
||||
Create a [[Computer/zero Assembly]] emulator. You may consider [http://edmundgriffiths.com/czero.html this webpage] as a reference implementation. Output the results of the sample programs "2+2" and "7*8" found there.
|
||||
|
||||
:* The virtual machine "bytecode" needs to be able to modify itself (or at least act as though it can) while the virtual machine is running, to be consistent with the reference implementation.
|
||||
:* For output, it is sufficient to have the implementation of the <code>STP</code> opcode return the accumulator to your actual language, and then use your standard printing routines to output it.
|
||||
|
||||
;Bonus Points: Run all 5 sample programs at the aforementioned website and output their results.
|
||||
|
||||
|
||||
<br><br>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue