Skip to content

Program written in MIPS assembly that generates a code 39 barcode from a given string

Notifications You must be signed in to change notification settings

michalmaksymow/barcode-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

📝 Assembly barcode generator (code39 specification)

Project for my university course in which the task was to build a program in MIPS assembly that will encode a provided string in form of a barcode. The program had to generate a bitmap (.bmp file) containing a correctly encoded barcode (according to code39 specification) based on a provided string of characters and the pixel width of the narrow bar.

Usage

In order to run the program, you need to follow these instructions:

  1. Obtain the Mars simulator (an integrated environment for running MIPS assembly written in java) available here.
  2. Run the mars simulator.
  3. Open the file src/barcode_generation.asm.
  4. Compile and run.
  5. (Alternatively, instead of running the program in gui mode, one may run it through the console by issuing command java -jar Mars4_5.jar src/barcode_generation.asm).
  6. Generated file will be located in out/output.bmp.

License

MIT

About

Program written in MIPS assembly that generates a code 39 barcode from a given string

Topics

Resources

Stars

Watchers

Forks