exp 3
exp 3
EXPERIMENT No. 3
1. Title –
Developing programs in ALP 8085 for Vinytics Student-85 microcomputer
kit to understand the operation of microcomputer. Following is a list of
subprograms –
2. Theoretical Background –
The Vinytics Student-85 microcomputer kit is an educational tool
designed to help students understand the architecture and programming of the
Intel 8085 microprocessor. While specific documentation for the Student-85 kit
is limited, we can explore the general theory and components of 8085
microprocessor kits to provide a foundational understanding. We need to study
the command given by the company to operate it properly.
3. Experimental Setup –
The current experiment is performed on the Vinytics Student-85 microcomputer
kit.
4. Precautions-
Following precautions are to be taken while using GNU 8085 software-
1. Be mindful of where you store your input values and the result. Ensure that
you don't overwrite values unintentionally.
2. The A register is typically used for performing operations and holding
results. It’s critical in many instructions like ADD, MOV, and MVI.
3. Don’t use comma while writing MOV operation.
4. Be aware of the Flags (Zero, Carry, Sign, Parity, and Auxiliary Carry) after
each operation. For example, after a ADD or MOV instruction, check the
flags as they may affect the flow of the program, especially when branching
or making decisions based on zero or carry flags.
5. Each instruction in the 8085 takes a specific number of T-states to execute.
For example, MOV instructions take fewer cycles than MUL or ADD
instructions. Make sure to consider this in case you're measuring time or
designing a time-sensitive application.
6. Stop the program by writing RST 5.
5. Procedure
1. To use the microcomputer first connect it with the power supply and with
the external keyboard.
2. To access the memory in the microcomputer first type m with the
keyboard and then type the memory address where you want to see the
data or change the data in it.
3. To write the ALP code in the microcomputer first type 1 in the keyboard
and then give the memory address from which you want to start writing
your program.
4. Now to run the program type G on the keyboard and then write the
address of the ALP code which you wants to write and then press (shift +
$ ) in the keyboard and your program will run.
5. Now if you want to see the data or change the data in the registers type R
and then type the register where you want to change or see the data.
MemoryCode Explanation
6. Observations –
We can observe that we have to use RST 5 to Hault the program instead of HLT
as it is given in the command book provided by the company.
7. Conclusion –
We have successfully implemented the code and have cross verified its result.