Random Access Machine Simulator
Assembly Code
Format
Examples:
-- Select an example --
Hello World
Basic Arithmetic
Loop Example
Input/Output
Factorial
Self-Modifying Code
Macro (Increment)
; Simple Example ; Try loading an example from the dropdown above! .data value 5 result 0 .code LOAD 3 ADD value STORE result PRINT result HALT
Controls
Load Program
at address:
Start
Step
Reset
Efficiency Metrics
Time
Steps:
0
Cost:
0
Space
Cells:
0
CPU Registers
ACC:
0
IP:
0
I/O Device
Input:
Send
Output:
Clear Output
Memory
← Prev
Addresses 0-39
Next →