Initialization

The i4004em emulator sets up memory as follows:

Sample program

        org 0h ; start location
        jmp main ; jump to main routine

        org 100h ; main routine
main: ; main routine
        ldm 3 ; load immediate 3 in accumulator
        jmp 0fffh ; stop program
        ; This convention is unique to emulator
        end


Home | Copying the Emulator | Introduction | Features | Emulator Initialization | User Interface | 4004 Instruction Set | 4004 Reference Card | References