This project is to demonstrate how computer executes set of instructions with program counter (PC) and instruction register
- Ruby
- Bundler
>= 1.16.6
bundle install --path .bundle
bundle exec rspec .
- Size of stack is fixed during
insert()
operation (beforeexecute()
starts). Thus, we are not able to insert instructions at out of bounds address. - Size of stack might increase dynamically during execution as the number of data that we push to stack might be more than the initial size of stack.
- Execution will stop when the data in the address is
STOP
ornil
- Each address will be only executed once during execution