Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
arkku
ihex
Repository navigation
Code
Issues
1
(1)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
ihex
/
split32bit.1
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
69 lines (69 loc) · 1.31 KB
master
Breadcrumbs
ihex
/
split32bit.1
Copy path
Top
File metadata and controls
Code
Blame
69 lines (69 loc) · 1.31 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.Dd December 13, 2019
.Dt split32bit 1
.Os kk_ihex
.Sh NAME
.Nm split32bit
.Nd Splits a 32-bit ROM image into four 8-bit files.
.Sh SYNOPSIS
.Nm
.Op Fl i Ar input32bit.bin
.Op Fl 0 Ar out0.bin
.Op Fl 1 Ar out1.bin
.Op Fl 2 Ar out2.bin
.Op Fl 3 Ar out3.bin
.Sh DESCRIPTION
.Nm
reads a raw 32-bit binary file from standard input and writes four
separate output files, each containing separate 8-bit bytes that make
up each 32-bit input dword. The bytes are numbered from 0 to 3 by
address, i.e., the first byte of input is byte 0 (little endian).
.Sh OPTIONS
.Bl -tag -width -indent
.It Fl 0 Ar byte0file
Output to
.Ar byte0file
the first byte of every input word
.It Fl 1 Ar byte1file
Output to
.Ar byte1file
the second byte of every input word
.It Fl 2 Ar byte2file
Output to
.Ar byte2file
the third byte of every input word
.It Fl 3 Ar byte3file
Output to
.Ar byte3file
the fourth byte of every input word
.It Fl i Ar file
Read the binary input from
.Ar file
instead of standard input
.El
.Sh EXAMPLES
Read binary data from
.Ar be32.bin
and write the bytes to output files from
.Ar U1.bin
to
.Ar U4.bin
in big endian order:
.Pp
.Bd -ragged -offset indent
.Nm
.Fl i
.Ar be32.bin
.Fl 0
.Ar U4.bin
.Fl 1
.Ar U3.bin
.Fl 2
.Ar U2.bin
.Fl 3
.Ar U1.bin
.Ed
.Pp
.Sh SEE ALSO
.Xr merge32bit 1
.Sh AUTHOR
.An "Kimmo Kulovesi" Aq https://arkku.com
You can’t perform that action at this time.