andrewrothman / mina

An education-focused CPU definition, assembler, virtual machine, and debugger
MIT License
0 stars 0 forks source link

Assembly language #2

Open andrewrothman opened 8 years ago

andrewrothman commented 8 years ago

Create a very basic assembly language that supports the features of the CPU.

I'm thinking opcodes, operands (registers, memory locations, decimal, hexadecimal, and binary values), labels, and that's about it.

andrewrothman commented 8 years ago

Include basic sugar for loops, including...

while { // in here you either JMP to do or you don't. If you don't, we skipdo for you. } do {

}