Hex dump: Difference between revisions
Content added Content deleted
(J draft) |
m (→{{header|J}}: bugfix (want two spaces rather than one, on left side of bindump result)) |
||
Line 429: | Line 429: | ||
bindump=: {{ |
bindump=: {{ |
||
assert. 'literal'-:datatype y |
assert. 'literal'-:datatype y |
||
b=. '',~_6,\' ',.,/"2":"0(8#2)#:a.i.y |
b=. '',~_6(' ',,)\' ',.,/"2":"0(8#2)#:256+a.i.y |
||
a=. '',~_6(' |','|',~])\(y e.32}.127{.a.)}'.',:y |
a=. '',~_6(' |','|',~])\(y e.32}.127{.a.)}'.',:y |
||
i=. 0 1}.hfd(2^32)+6*i.#b |
i=. 0 1}.hfd(2^32)+6*i.#b |
||
Line 466: | Line 466: | ||
00000070 |
00000070 |
||
bindump sample |
bindump sample |
||
00000000 11111111 11111110 01010010 00000000 01101111 00000000 |..R.o.| |
00000000 11111111 11111110 01010010 00000000 01101111 00000000 |..R.o.| |
||
00000006 01110011 00000000 01100101 00000000 01110100 00000000 |s.e.t.| |
00000006 01110011 00000000 01100101 00000000 01110100 00000000 |s.e.t.| |
||
0000000c 01110100 00000000 01100001 00000000 00100000 00000000 |t.a. .| |
0000000c 01110100 00000000 01100001 00000000 00100000 00000000 |t.a. .| |
||
00000012 01000011 00000000 01101111 00000000 01100100 00000000 |C.o.d.| |
00000012 01000011 00000000 01101111 00000000 01100100 00000000 |C.o.d.| |
||
00000018 01100101 00000000 00100000 00000000 01101001 00000000 |e. .i.| |
00000018 01100101 00000000 00100000 00000000 01101001 00000000 |e. .i.| |
||
0000001e 01110011 00000000 00100000 00000000 01100001 00000000 |s. .a.| |
0000001e 01110011 00000000 00100000 00000000 01100001 00000000 |s. .a.| |
||
00000024 00100000 00000000 01110000 00000000 01110010 00000000 | .p.r.| |
00000024 00100000 00000000 01110000 00000000 01110010 00000000 | .p.r.| |
||
0000002a 01101111 00000000 01100111 00000000 01110010 00000000 |o.g.r.| |
0000002a 01101111 00000000 01100111 00000000 01110010 00000000 |o.g.r.| |
||
00000030 01100001 00000000 01101101 00000000 01101101 00000000 |a.m.m.| |
00000030 01100001 00000000 01101101 00000000 01101101 00000000 |a.m.m.| |
||
00000036 01101001 00000000 01101110 00000000 01100111 00000000 |i.n.g.| |
00000036 01101001 00000000 01101110 00000000 01100111 00000000 |i.n.g.| |
||
0000003c 00100000 00000000 01100011 00000000 01101000 00000000 | .c.h.| |
0000003c 00100000 00000000 01100011 00000000 01101000 00000000 | .c.h.| |
||
00000042 01110010 00000000 01100101 00000000 01110011 00000000 |r.e.s.| |
00000042 01110010 00000000 01100101 00000000 01110011 00000000 |r.e.s.| |
||
00000048 01110100 00000000 01101111 00000000 01101101 00000000 |t.o.m.| |
00000048 01110100 00000000 01101111 00000000 01101101 00000000 |t.o.m.| |
||
0000004e 01100001 00000000 01110100 00000000 01101000 00000000 |a.t.h.| |
0000004e 01100001 00000000 01110100 00000000 01101000 00000000 |a.t.h.| |
||
00000054 01111001 00000000 00100000 00000000 01110011 00000000 |y. .s.| |
00000054 01111001 00000000 00100000 00000000 01110011 00000000 |y. .s.| |
||
0000005a 01101001 00000000 01110100 00000000 01100101 00000000 |i.t.e.| |
0000005a 01101001 00000000 01110100 00000000 01100101 00000000 |i.t.e.| |
||
00000060 00100000 00000000 00111101 11011000 00000000 11011110 | .=...| |
00000060 00100000 00000000 00111101 11011000 00000000 11011110 | .=...| |
||
00000066 00101110 00000000 |..| |
00000066 00101110 00000000 |..| |
||
0000006c |
0000006c |
||
</pre> |
</pre> |
||