Jordy
Well-Known Member
Sneak peak of my project, a simple dot product function written in my assembly, statically linked with a main file and running in my virtual machine. The virtual machine can do a disassemble and read out the symbol and reloc table in the elf, that's what is show in the middle. Register files on the left and a view of an arbitrary location in memory on the right.
Here is a spec of the instruction set https://file.io/O5jMl6zGH8FA
The assembly statements don't map one on one to instructions, the assembler it is capable of determining based on the type of operands that it has and their values what instructions to produce. The set statement for instance can produce 5 diffirent types of instruction combinations, and jmp/jal statements 4. And there are many more assembly statements than what is shown here.
Technically the project is not done yet, i still have to add floating point, vector and breakpoints instructions.
Here is a spec of the instruction set https://file.io/O5jMl6zGH8FA
The assembly statements don't map one on one to instructions, the assembler it is capable of determining based on the type of operands that it has and their values what instructions to produce. The set statement for instance can produce 5 diffirent types of instruction combinations, and jmp/jal statements 4. And there are many more assembly statements than what is shown here.
Technically the project is not done yet, i still have to add floating point, vector and breakpoints instructions.
Last edited: