#universal #machine #instructions #file #stdin #input #icfp

bin+lib rumdump

A simple object file dumper for the UM (ICFP 2006) 14-instruction architecture

3 releases (1 stable)

new 1.0.0 Apr 10, 2024
0.2.0 Nov 26, 2023
0.1.0 Nov 23, 2023

#44 in #universal

39 downloads per month

MIT license

21KB
238 lines

This is a simple binary to disassemble (much like objdump) a Universal Machine binary.

This is primarily intended for the University of Rhode Island course CSC411, but is applicable to the "Universal Machine" from ICFP 2006.

Usage: rumdump [um_binary]

If no argument is given, input is expected on STDIN.

This relies on ANSI terminal colors, and is currently display optimized for programs of fewer than 1 million instructions. It will work with larger programs, but display won't align perfectly.

Dependencies

~2.5MB
~49K SLoC