This project tries to simulate ASM programming language. It is an experiment. The instructions are: -lda (value/B) ;load value/B to A -lda RAM (num) ;load item #num of RAM to A -ldb (value/A) ;load value/A to B -cp (value/B) ;compares a with value/B. Sets zero flag(variable) to 1 if A=value/B -add (value) ;add value to A -sub (value) ;subtract value to A -jp (num) ;jump to instruction #num of programable ROM -jp z (num) ;jump if zero flag = 1 -jp nz (num) ;jump if zero flag = 0 -ld (num) ;load vaue of accumulator to item #num of RAM RAM: 1. controls sprite x 2. controls sprite y 3. controls sprite pen 4. controls pen size 5. used for storing values 6. used for storing values 7. it increases every second press left arrow after entering a command to finish the program press up arrow to run the whole program press down arrow to run one instruction each time you press right arrow
thanks to scratch and to whoever made ASM :D