https://github.com/akkartik/mu/blob/master/apps/ex12.subx
1
2
3
4
5
6
7
8
9 == code
10
11
12
13
14 Entry:
15
16 bb/copy-to-ebx Mmap-new-segment/imm32
17 e8/call syscall_mmap/disp32
18
19
20 c7 0/subop/copy 0/mod/direct 0/rm32/eax . . . . . 0x34/imm32
21
22
23 89/copy 3/mod/direct 3/rm32/ebx . . . 0/r32/eax . .
24 e8/call syscall_exit/disp32
25
26 == data
27
28
29 Mmap-new-segment:
30
31 0/imm32
32 pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #