What is the e4004 emulator?
The e4004 emulator is a very complex emulator of the INTEL 4004 system. All register and flags
of CPU block are emulated. Also all registers of sytem RAM and ROM are emulated.
The full code of this software is completely written in JavaScript, so it should be able
to execute on whatever platform with the internet browser and implemented CSS2 and JavaScript
interpreter.
Features Of The as4004 Assembler
- Intuitive 6 pannels user interface.
- Minimum system requirements are internet browser with JavaScript interpreter and CSS2.
- Object code can be used from as4004 assembler.
- Various configuration of the hardware
- Single 'step', 'animate' and 'run' mode are available
- Possibility of disassembling code
- Breakpoints system is available
- Possibility of changing data of all registers and flags.
- The emulator is completely free.
Running the e4004 emulator
- Enter your objects code into the "ROM block" pannel.
- Click the "LOAD" button.
- In "ROM block" can be see dump of ROM memory.
- It can be display the disassembling code too.
- Click the "ANIMATE" button in "4004 CPU" pannel.
- Program will be running step by step.
Quick Start
This part of the description is for those of you who want to see the e4004 emulator in demo action.
It can be easy to realize. Just press one of described bellow buttons and next press the 'ANIMATE'
button.
'P1' button - RAM memory test program
; ram_test.asm
; test the Intel 4002
init
FIM R0R1, 0 ; initialize R0=R1=0
FIM R2R3, 0 ; initialize R2=R3=0
LDM 12 ; load 12 to accumulator
XCH R2 ; initialize R2=12
loop1
SRC R0R1 ; select register & address
WRM ; write accumulator to memory
IAC ; increment accumulator
ISZ R1, loop1 ; loop 16 times
INC R0 ; increment R0
ISZ R2, loop1 ; loop 4 times
FIM R0R1, 0 ; initialize R0=R1=0
FIM R2R3, 0 ; initialize R2=R3=0
LDM 12 ; load 12 to accumulator
XCH R2 ; initialize R2=12
loop2
SRC R0R1 ; select register & address
WR0 ; write status character 0
IAC ; increment accumulator
WR1 ; write status character 1
IAC ; increment accumulator
WR2 ; write status character 2
IAC ; increment accumulator
WR3 ; write status character 3
IAC ; increment accumulator
INC R0 ; increment R0
ISZ R2, loop2 ; loop 4 times
DONE
JUN DONE ; endless loop as end of program
'P2' button - MCS-4 EVALUATION KIT USING THE 4001-0009
This kit provides both a convenient way of evaluating the MCS-4 parts
and ab educational vehicle to better understand the MCS-4 operation.
The 4001-0009
a microprogram that exercises the 4004 and 4002's and executes all of
the 45 instructions in MCS-4 instruction set.
'P3' button - not implement yet