How can we write a program which functions as a assembler in c++ programming for microprocessor 8085 | Sololearn: Learn to code for FREE!

+1

How can we write a program which functions as a assembler in c++ programming for microprocessor 8085

Please answer

c++

9/5/2019 3:05:19 PM

Ananya Anu

3 Answers

New Answer

0

In IDE must be functional to use assembler part in code. It will be some like this: #asm - start assembler code cli - assembler command #endasm - end assembler code

0

Sir can you brief a bit more

0

If you mean "How do I write an 8085 assembler in C++?" then that's a tall order. The free and open source ASxxxx Cross Assemblers by Alan R Baldwin includes an 8085 assembler. You can download binary executables and the entire source code from... http://shop-pdp.net/ashtml/asxxxx.php If you mean "How do I embed assembly language instructions in my C++ source code?" then that will depend on your compiler. Please consult your compiler documentation.