Skip to content

Marcsgarden/University-project-RISCV-barcode-generator-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Barcode Generator (Dec 2024 - Jan 2025) 🏷️

πŸ“Œ Project Description

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.

πŸ“… Work Period

This project was developed between December 2024 - January 2025 as part of my coursework at Warsaw University of Technology.

πŸš€ Features

  • 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.

πŸ›  Technologies Used

  • RISC-V Assembly
  • BMP File Format
  • Low-Level Memory Management

πŸ–₯️ How to Run

  1. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published