~poptart/riscv-business

ref: 90d7b74028402c40dac0453d3ef4ec737d5e909b riscv-business/util/trashfmt.py -rwxr-xr-x 132 bytes
90d7b740 — terrorbyte Updated some utilities 2 years ago
                                                                                
1
2
3
4
#!/usr/bin/env python3
import sys
x = '{:032b}'.format(int(sys.argv[1], 16))
print(' '.join([x[i:i+8] for i in range(0,len(x),8)]))