-
Notifications
You must be signed in to change notification settings - Fork 32
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
Can use () instead of [] as Notch shows in http://i.imgur.com/XIXc4.jpg #6
base: master
Are you sure you want to change the base?
Conversation
I do know that this solution is not nice but adding new class of brackets will cause too much refactoring. So [A) and (A] work too =)
Seen in Notches latest screenshot http://i.imgur.com/Tq9ue.jpg Note that colour printing in the program output does not work yet but the facility is there.
Note however terminal colour output isn't finished.
Conflicts: assembler.c emulator.c
At some point I'm going to have to decide if I'm going to follow all of Notch's syntactic decisions or not (personally I prefer []s to ()s and much prefer [imm, reg] to [imm + reg] though I support both). () support is pretty harmless. His use of "DAT" and "BOR" also strike me as really weird, but it's probably worth staying compatible with his syntax even if it's weird-looking to me. ^^ |
I think FASM syntax is the best from x86 assemblers — light and powerful. Why not to imitate it? And "BOR" is frightening me too. My mind can't decrypt such strange mnemonic in a moment so I stumble every time seeing this instruction. |
I do know that this solution is not nice but adding new class of brackets would cause too much refactoring.
So [A) and (A] work too =)