This project is a barcode generator written in RISC-V assembly. It takes user input and encodes it into a barcode format, saving it as a .bmp
image file.
This project was developed between December 2024 - January 2025 as part of my coursework at Warsaw University of Technology.
- Reads user input as a string.
- Converts the input into a barcode representation.
- Renders the barcode and saves it as a
barcode.bmp
file. - Implements bitmap manipulation in assembly.
- RISC-V Assembly
- BMP File Format
- Low-Level Memory Management
- Assemble the code using a RISC-V assembler such as
rars
:java -jar rars.jar barcode_generator.s
2.Run the program in the simulator. 3.Enter a string when prompted. 4.The generated barcode will be saved as barcode.bmp in the program's directory.
π¦ Barcode-Generator β£ π barcode_generator.s # Main assembly file β£ π README.md # Project documentation β π barcode.bmp # Output image (generated after execution) β‘ Example Output Input: HELLO123 Output: A barcode representation of HELLO123 in barcode.bmp This project is open-source and available under the MIT License.