mirror of
https://github.com/elliotnunn/ToolboxToolbox.git
synced 2025-01-04 12:31:41 +00:00
12 lines
194 B
Python
Executable File
12 lines
194 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from sys import argv
|
|
|
|
offset = int(argv[1][2:], 16)
|
|
|
|
f = open(argv[2])
|
|
|
|
for l in f:
|
|
print('%s\t\t\t\t\t\t\t\t\t\t\t\t; 0x%06x' % (l.rstrip(), offset))
|
|
offset += 4
|