Sorry, '+navigator.appName+' not supported - showing you a picture instead!';
document.getElementById('frame').innerHTML=' x: 0';
}else{
var suffix=location.search;
var path=location.pathname;
// ensure we always have a trailing slash
path=path.replace("index.html","").replace(/\/?$/,"/");
if (suffix != "") {
// redirect to the expert page
var prefix=location.protocol+"//"+location.host+path;
window.location.replace(prefix+"expert.html"+suffix);
return;
} else {
// normal case: start the simulator
setTimeout(setup,200);
}
}
}
The Visual 6502
FAQ
Blog
Links 
This simulator uses HTML5 features only found on the latest versions of browsers and needs
lots of RAM. If you have trouble, please check compatibility.
Keyboard controls: 'z' to zoom in, 'x' to zoom out, 'n' to step the simulation.
Mouse controls: Left-click and drag to scroll around (when you're zoomed in.)
More information in the User Guide.
y: 0
Source code is available on github visual6502.
Use the online emulator and assembler from the easy6502 tutorial
and disassembler from mass:werk
For in-depth 6502 investigation and some more advanced features, try our Advanced page.