Execute Computer/Zero: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
m (→‎{{header|jq}}: blank line)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 3,416:
 
Although I've entered the fifth program, it just returns 0 when reaching the STP instruction. I'm unclear how we can make it interactive without having another instruction though possibly, if STP had address bits other than 0, this could signal that user input was required.
<syntaxhighlight lang="ecmascriptwren">var NOP = 0
var LDA = 1
var STA = 2
9,476

edits