Loading...
Works

Tree Plotter 2024

Completed as part of the Spring 2024 offering of CS:2630 Computer Organization at the University of Iowa.


Description

An assembly language program that recursively plots binary trees using ASCII art. The program automatically calculates and displays the largest possible tree that will fit in the Hawk emulator's display window, using depth-first traversal to draw branches with forward and backward slashes.

Features

  • Recursive Drawing: Uses depth-first search to plot branches, with size calculated as 2^n-depth
  • Dynamic Sizing: Automatically determines maximum tree height based on window dimensions
  • Screen Management: Centers output and handles coordinate calculations in assembly
treePlotter Thumbnail
© 2025 Karan Singh. All Rights Reserved.
This website is built based on Takuya Matsuyama's website