Answer the question
In order to leave comments, you need to log in
What can be done with 13 assembly instructions?
I am making an interpreter for my version of assembler, 14 commands are already ready and one is purely for debugging. List of commands: mov, add, sub, div, mul, inc, dec, xcng, not, add, or, xor, nop is jmp, but it just freezes the program (jmp $). What can be done from this porridge?
Answer the question
In order to leave comments, you need to log in
Almost nothing serious.
For a language to be called a programming language, it must be possible to write loops and conditions.
You have no conditions.
Also, the assembler interpreter is nonsense.
Assembly language is inextricably linked with the architecture and addressing of memory and devices.
How to work with devices from your assembler? How to display a dot on the screen or a character on the screen? Where is the screen memory, keyboard port, and so on?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question