Skip to content

MX994/garand-as

Repository files navigation

Garand Assembler

Documentation

  • Simulator: Garand
  • graph.yml contains decode schema for all supported instructions

Build & Run

Requirement

  • Python 3.11+
  • Pillow (for image pixel data conversion)

Examples

test.gar

Label & branch testing program.

Fibb.gar

Generating Fibonacci sequence and write it to the memory.

Chip

This program will perform memory copy. With graphic buffer turning on, an image will be rendered. First, generate image data by calling img-mk.py chip.png chip.bin, then assemble chip.gar

Exchange sort

exchange_sort.data is an example file of 100 random integers. Assemble it into exchange_sort.rdata, and then assemble exchange_sort.garand.

Matrix multiply

matrix_multiply.data is an example file of 2 4x4 matrices. Assemble it into matrix_multiply.rdata, and then assemble matrix_multiply.garand.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages