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

Missing ATmega2560 instructions #31

Closed urish closed 4 years ago

urish commented 4 years ago

The following instructions are used to reference memory addresses beyond 0x10000 (for MCUs with more than 128kb program space), and are currently missing from the simulation:

Also, CALL, ICALL, RCALL, RET, and RETI should be adapted for 22-bit PC