Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (11 sloc) 402 Bytes
lfod:~% alias bb=bitbanger
lfod:~% bb 1 2 3 4
mask: 0x0000001e -> 00 00 00 1e
Bin: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0
Set: 1 2 3 4
reversed: 0x1e000000 -> 1e 00 00 00
lfod:~% bb 0x1e
mask: 0x0000001e -> 00 00 00 1e
Bin: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0
Set: 1 2 3 4
reversed: 0x1e000000 -> 1e 00 00 00