Documente Academic
Documente Profesional
Documente Cultură
I. Prerequisites
4. You should get the following screen. This is the ENVI85b simulator.
III. Simulating 8085 Assembly language programs.
1. Enter the filename of your program. (Size of the filename can be of maximum 8 characters).
2. Type ADD8BIT.ASM and press Enter. You should get the following Editor window.
3. Type your assembly language program (in mnemonics) as shown below.
5. Press F6 to run. At the next screen, enter your program starting address (4000H) and press Enter.
[1] Here, the program as assembled is shown from the starting address 4000H
[2] Here, the current value of the Registers is shown in Decimal (D), Hexadecimal (H) and Binary
(Bin) format.
[3a] Here, the content of memory location from 4000H to 400FH is shown.
[3b] Here, the content of memory locations from 4010H to 401FH is shown.
[4] To see the contents of any memory location, enter the particular address at the cursor. As our
result is stored in memory location 4160H, we will enter this address later on.
7. Press F3 to execute the first instruction (MVI A, 32H). After the execution, the content of register
A will be updated accordingly, i.e., [A]=32H.
Continue pressing F3 till you reach HLT instruction. Do not execute the HLT instruction. Executing
HLT instruction will bring you back to Editor Window. (Step III.3)
The whole program (except HLT instruction) has been executed and the result has been stored in the
memory location 4160H.
8. Type 4160H at the Cursor keys, memory address or label => and press Enter.