xsznix / js-y86 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vaguilar/js-y86
y86 simulator and assembler written in Javascript.
License: MIT License
This project forked from vaguilar/js-y86
y86 simulator and assembler written in Javascript.
License: MIT License
I have added a license to the parent project :)
The "top of the stack" is traditionally drawn on the bottom with decreasing values, while the "bottom of the stack" is drawn on the top with increasing values. The simulator has it backwards though - smaller addresses are found near the top of the page, while larger addresses are at the bottom. It'd be nice to see the stack in its current form in the simulator reversed, or at least have an option to do so.
@xsznix Ran into this in my fork (for a class I TA)
https://github.com/xsznix/js-y86/blob/master/js/assem.js#L4
Check out what happens when you attempt the following instruction:
irmovl 0x1000, %esp
Hello! Great job on this project. I've been using it for the same CS class you're in and it's a wonderful interface for testing our programs. There's a minor issue with your display in Firefox on my Mac, which prevents me from using it in that browser. The issue doesn't present itself in Safari.
The image should show it all. When ebp and esp jump down, there is not printed output for them.
This may be a case of Firefox not supporting some JS feature that you utilize, and Safari doing so. I don't have time today to dig into your source. In any case I thought I'd let you know!
Is there a bug with cmovl? (cmovq seems to be working, doing the same cmovl should do.)
As far as I know conditional moves should be the same in y86 and y86-64. So shouldn't cmovq be cmovl?
I didn't find an access to the %r8d register for example. why not all the registers appears in your implementation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.