
A recursive assembly program that dynamically plots perfectly scaled binary trees as ASCII art. Utilizing depth-first traversal, it automatically calculates optimal tree dimensions, adjusts branch sizes based on emulator screen constraints, and demonstrates precise control over recursion, geometry, and low-level I/O.
Key Features
- Recursive Traversal: Implements depth-first recursion to accurately render tree structures, with node widths computed dynamically.
- Dynamic Scaling: Automatically adjusts the size and layout of the binary tree based on the current emulator window dimensions.
- Low-Level Rendering: Directly manages screen coordinates and rendering logic using SMAL assembly for precise positioning and visual clarity.
- StackSMAL Assembly, Hawk Emulator
- SourceGitHub
