-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add assembler and disassembler commands #550
base: trunk
Are you sure you want to change the base?
Conversation
We now have a trivial assembler that can assemble two kinds of instruction! We can write with it a program to halt the system by sending
|
Another program that use an invalid
|
Not too far from hello world:
|
|
I'm wondering if it wouldn't be more fun to implement the assembler in Lisp inside MOROS. Currently we just need enough instructions to use the various syscalls. |
This PR is a continuation of #549 where we added the iced-x86 crate and a
--dissamble
option to theelf
command. It can't be merged in MOROS v0.10.1 because it makes the kernel larger that the 2MB limit required by the location of the superblock on the disk.https://github.com/icedland/iced/tree/master/src/rust/iced-x86