> For the complete documentation index, see [llms.txt](https://suyashs-organization-3.gitbook.io/csitlabs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://suyashs-organization-3.gitbook.io/csitlabs/2nd_semester/microprocessor/8085_mp/subroutine_stack_bcd_conversion.md).

# Subroutine, Stack and BCD Conversion]\(Subroutine\_Stack\_BCD\_Conversion

* [Factorial of a number using subroutine](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Subroutine_Stack_BCD_Conversion/factorial.asm)
* [Sum of squares of the first n numbers](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Subroutine_Stack_BCD_Conversion/sum_of_squares.asm)
* [Convert binary to BCD](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Subroutine_Stack_BCD_Conversion/binary_to_BCD.asm)
* [Convert BCD to binary](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Subroutine_Stack_BCD_Conversion/BCD_to_binary.asm)
* [Stack implementation and add data directly](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Subroutine_Stack_BCD_Conversion/stack_implementation.asm)
* [Stack implementation and add data indirectly](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Subroutine_Stack_BCD_Conversion/stack_implementation_indirect.asm)
* [Use of stack to reverse the number stored in a memory stack and store in the same memory block](https://github.com/sthsuyash/CSIT_Labs/blob/main/2nd_Semester/Microprocessor/8085_mp/Subroutine_Stack_BCD_Conversion/reverse_stack.asm)
