wokwi / avr8js

Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/
MIT License
463 stars 73 forks source link

Bug: SP not initialized on reset #2

Closed urish closed 4 years ago

urish commented 4 years ago

according to the datasheet: Initial Stack Pointer value equals the last address of the internal SRAM.

Currently, the stack pointers is initialized to 0.