Basically done?
This commit is contained in:
1 parent
b5d5955bc6
commit
f3f68ea0b3
11 files changed
+531
No files matched your search
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
rm tiny
|
||||
rm tiny.o
|
||||
nasm -f elf64 tiny.asm -o tiny.o
|
||||
ld -nostdlib tiny.o -o tiny
|
||||
strip -s tiny
|
||||
@@ -0,0 +1,232 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
sodipodi:docname="ld.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#0f0f0f"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="0.7578036"
|
||||
inkscape:cx="-19.794047"
|
||||
inkscape:cy="494.19137"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1403"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<marker
|
||||
style="overflow:visible"
|
||||
id="Triangle"
|
||||
refX="0"
|
||||
refY="0"
|
||||
orient="auto-start-reverse"
|
||||
inkscape:stockid="Triangle arrow"
|
||||
markerWidth="1"
|
||||
markerHeight="1"
|
||||
viewBox="0 0 1 1"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always"
|
||||
preserveAspectRatio="xMidYMid">
|
||||
<path
|
||||
transform="scale(0.5)"
|
||||
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
|
||||
d="M 5.77,0 -2.88,5 V -5 Z"
|
||||
id="path135" />
|
||||
</marker>
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:0.750001;stroke-linecap:square"
|
||||
d="M 52.810075,7.7864699 V 276.86267"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:0.750001;stroke-linecap:square"
|
||||
d="M 131.91557,7.7864673 V 276.86267"
|
||||
id="path1-3" />
|
||||
<g
|
||||
id="g1"
|
||||
transform="translate(0,-17.407133)">
|
||||
<rect
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">R--</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-0"
|
||||
transform="translate(0,31.047814)">
|
||||
<rect
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1-6"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1-2"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-6"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">R-X</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-0-8"
|
||||
transform="translate(-0.68333203,169.07594)">
|
||||
<rect
|
||||
style="fill:#3465a4;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1-6-6"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1-2-8"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-6-8"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">R-X</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-0-2"
|
||||
transform="translate(0,58.204914)">
|
||||
<rect
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1-6-0"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1-2-2"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-6-3"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">RW-</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-0-2-2"
|
||||
transform="translate(0,109.10388)"
|
||||
style="fill:#73d216">
|
||||
<rect
|
||||
style="fill:#73d216;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1-6-0-8"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1-2-2-9"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-6-3-7"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">RW-</tspan></text>
|
||||
</g>
|
||||
<path
|
||||
style="font-size:17.3465px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:tb-rl;text-orientation:sideways;text-anchor:end;fill:#eeeeec;stroke:#eeeeec;stroke-width:0.749998;stroke-linecap:square"
|
||||
d="m 25.711968,79.223516 v 1.551085 l 12.344214,3.326038 v -1.359196 l -6.661359,-1.679009 c -1.467758,-0.351789 -2.634436,-0.623638 -4.083376,-1.007406 v -0.06398 c 1.44894,-0.383768 2.615618,-0.639623 4.083376,-1.007406 l 6.661359,-1.695002 v -1.407165 z m 0,10.617746 v 1.311234 h 9.145256 v -4.925105 h -1.260765 v 3.613871 z m 11.064631,0.5117 c 0,0.591651 0.470436,1.055379 1.204314,1.055379 0.715061,0 1.204313,-0.463728 1.204313,-1.055379 0,-0.591651 -0.489252,-1.055379 -1.204313,-1.055379 -0.733878,0 -1.204314,0.463728 -1.204314,1.055379 z m -11.064631,6.364252 v 1.311234 h 5.362959 c 1.900557,0.927447 2.615618,2.030802 2.615618,3.198112 0,0.60764 -0.09408,0.89547 -0.319895,1.43915 l 1.336035,0.30383 c 0.282262,-0.47972 0.376348,-0.95944 0.376348,-1.5351 0,-1.439151 -0.922052,-2.65444 -2.389809,-3.469958 v -0.04794 l 2.164,-0.111929 v -1.087367 z m -0.225809,13.560016 c 0,0.97543 0.244627,1.72699 0.545705,2.43057 l 1.129044,-0.28782 c -0.244627,-0.55968 -0.413983,-1.13534 -0.413983,-1.87091 0,-1.50311 0.865601,-1.96683 2.502714,-1.96683 h 4.34682 v 3.82174 h 1.260765 v -3.82174 h 2.935515 v -1.08737 l -2.935515,-0.17589 -0.09408,-2.23868 h -1.166681 v 2.1907 h -4.328002 c -2.258088,0 -3.782298,0.73557 -3.782298,3.00623 z m 0,7.22775 c 0,1.1993 0.752696,2.11076 1.825288,2.89429 v 0.064 l -1.599479,0.11194 v 1.07136 h 9.145256 v -1.31122 h -6.341463 c -1.185497,-0.86349 -1.693566,-1.51911 -1.693566,-2.41458 0,-1.29524 0.827966,-1.79094 2.559166,-1.79094 h 5.475863 v -1.32722 h -5.682855 c -2.408627,0 -3.68821,0.84749 -3.68821,2.70241 z m 0,9.59435 c 0,1.10335 0.677426,2.2067 1.467757,3.07019 v 0.0479 l -1.241948,0.11194 v 1.07136 h 5.607585 c 2.276906,0 3.76348,-1.02339 3.76348,-3.15014 0,-1.3592 -0.715061,-2.67042 -1.317218,-3.45396 l -1.053774,0.5117 c 0.526887,0.71957 1.091409,1.71098 1.091409,2.71839 0,1.50311 -1.053775,2.03081 -2.295723,2.06279 -0.376348,-4.01364 -1.37367,-5.62869 -3.424767,-5.62869 -1.637113,0 -2.596801,1.1833 -2.596801,2.63845 z m 1.241948,0.3518 c 0,-0.89548 0.432801,-1.71099 1.467758,-1.71099 1.204313,0 1.975827,1.0234 2.295722,4.34943 H 28.08296 c -0.8656,-0.87948 -1.354853,-1.75896 -1.354853,-2.63844 z m -1.241948,11.81704 c 0,0.8475 0.188174,1.3592 0.545705,2.07877 l 1.147861,-0.33579 c -0.28226,-0.5277 -0.413983,-1.00741 -0.413983,-1.45514 0,-0.92746 0.564522,-1.5351 1.900558,-1.5351 h 10.443657 v -4.0776 h -1.260766 v 2.76637 h -9.069986 c -2.164002,0 -3.293046,0.91146 -3.293046,2.55849 z m 0.225809,13.83186 v 1.24727 h 6.172107 c 1.204314,0 3.311862,-0.12793 4.365637,-0.22387 v 0.032 l -2.408627,0.60764 -4.85489,1.47114 v 0.95943 l 4.85489,1.50311 2.408627,0.59165 v 0.0479 c -1.053775,-0.064 -3.161323,-0.22387 -4.365637,-0.22387 h -6.172107 v 1.27925 h 12.344214 v -1.63105 l -5.268872,-1.48712 -1.994644,-0.4957 v -0.064 l 1.994644,-0.5117 5.268872,-1.47112 v -1.63105 z m 8.147935,13.52804 c 0,1.32721 -0.922054,2.20669 -2.803794,2.31863 v -4.95708 c 1.806471,0.23985 2.803794,1.3592 2.803794,2.63845 z m -8.373744,0.19188 c 0,1.24726 0.489252,2.23868 1.091409,3.00623 l 1.01614,-0.47972 c -0.526887,-0.70358 -0.865601,-1.43915 -0.865601,-2.3666 0,-1.61506 1.053775,-2.86231 3.123689,-3.02223 v 6.1244 c 0.244627,0.032 0.58334,0.064 0.94087,0.064 2.577984,0 4.290367,-1.31123 4.290367,-3.54991 0,-2.07877 -1.80647,-3.96566 -4.77962,-3.96566 -3.048418,0 -4.817254,1.85491 -4.817254,4.18953 z m 0.225809,5.24491 v 1.31123 h 6.623725 c 0.94087,0.38377 1.411305,0.73557 1.411305,1.27925 0,0.57566 -0.545705,0.79953 -1.599479,0.79953 h -6.435551 v 1.21528 h 6.623725 c 0.94087,0.41575 1.411305,0.70358 1.411305,1.24726 0,0.57567 -0.545705,0.83151 -1.599479,0.83151 h -6.435551 v 1.31123 h 6.548455 c 1.825288,0 2.82261,-0.63962 2.82261,-1.72698 0,-0.89547 -0.602157,-1.37519 -1.580662,-1.82293 1.053775,-0.22386 1.580662,-0.70359 1.580662,-1.47113 0,-0.89547 -0.583339,-1.37519 -1.430122,-1.77495 v -0.032 l 1.204313,-0.11194 v -1.05538 z m -0.225809,13.46407 c 0,2.04679 1.750019,3.83774 4.77962,3.83774 3.067236,0 4.817254,-1.79095 4.817254,-3.83774 0,-2.04679 -1.750018,-3.83774 -4.817254,-3.83774 -3.029601,0 -4.77962,1.79095 -4.77962,3.83774 z m 1.279583,0 c 0,-1.48712 1.411306,-2.47854 3.500037,-2.47854 2.107548,0 3.537671,0.99142 3.537671,2.47854 0,1.48713 -1.430123,2.47854 -3.537671,2.47854 -2.088731,0 -3.500037,-0.99141 -3.500037,-2.47854 z m -1.053774,7.13181 v 1.31123 h 5.362959 c 1.900557,0.92745 2.615618,2.0308 2.615618,3.19812 0,0.60763 -0.09408,0.89547 -0.319895,1.43915 l 1.336035,0.30382 c 0.282262,-0.47972 0.376348,-0.95943 0.376348,-1.5351 0,-1.43915 -0.922052,-2.65443 -2.389809,-3.46995 v -0.0479 l 2.164,-0.11193 v -1.08736 z m -3.932836,9.35448 c 0,1.75897 1.373669,2.71841 3.18014,3.29406 l 9.897952,3.42199 v -1.24726 l -5.06188,-1.695 c -0.827965,-0.25586 -1.787653,-0.55968 -2.653254,-0.83152 v -0.064 c 0.884419,-0.31981 1.844105,-0.65561 2.653254,-0.95944 l 5.06188,-1.90287 v -1.32722 l -9.164073,3.62987 -0.677426,-0.23987 c -1.129044,-0.38377 -1.95701,-1.03938 -1.95701,-2.Line truncated
|
||||
id="text2"
|
||||
aria-label="Virtual Memory" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.1456px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#eeeeec;stroke:#eeeeec;stroke-width:0.750006;stroke-linecap:square"
|
||||
x="170.66167"
|
||||
y="226.69298"
|
||||
id="text2-7"
|
||||
transform="scale(1.0960035,0.91240584)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2-4"
|
||||
style="writing-mode:lr-tb;direction:ltr;fill:#eeeeec;stroke:#eeeeec;stroke-width:0.75"
|
||||
x="170.66167"
|
||||
y="226.69298">ld.so</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.1456px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#eeeeec;stroke:none;stroke-width:0.750006;stroke-linecap:square"
|
||||
x="184.03073"
|
||||
y="191.81035"
|
||||
id="text2-7-9"
|
||||
transform="scale(1.0960035,0.91240584)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2-4-2"
|
||||
style="writing-mode:lr-tb;direction:ltr;fill:#eeeeec;stroke:none;stroke-width:0.75"
|
||||
x="184.03073"
|
||||
y="191.81035">_printf()</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.1456px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#eeeeec;stroke:none;stroke-width:0.750006;stroke-linecap:square"
|
||||
x="180.5374"
|
||||
y="263.14386"
|
||||
id="text2-7-9-2"
|
||||
transform="scale(1.0960035,0.91240584)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2-4-2-6"
|
||||
style="writing-mode:lr-tb;direction:ltr;fill:#eeeeec;stroke:none;stroke-width:0.75"
|
||||
x="180.5374"
|
||||
y="263.14386">printf()</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
style="writing-mode:lr-tb;direction:ltr;fill:#3465a4;stroke:none;stroke-width:0.75"
|
||||
x="180.5374"
|
||||
y="274.28946"
|
||||
id="tspan2"> @libc.so</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:1;stroke-linecap:square;stroke-dasharray:none;marker-end:url(#Triangle)"
|
||||
d="m 120.80417,176.74171 c 30.14285,19.99337 30.02647,39.98675 -0.34915,59.98012"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 15 KiB |
@@ -0,0 +1,273 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="210mm"
|
||||
height="297mm"
|
||||
viewBox="0 0 210 297"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
|
||||
sodipodi:docname="map.svg"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#0f0f0f"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="0.7578036"
|
||||
inkscape:cx="-19.794047"
|
||||
inkscape:cy="494.19137"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1403"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1" />
|
||||
<defs
|
||||
id="defs1">
|
||||
<marker
|
||||
style="overflow:visible"
|
||||
id="Triangle"
|
||||
refX="0"
|
||||
refY="0"
|
||||
orient="auto-start-reverse"
|
||||
inkscape:stockid="Triangle arrow"
|
||||
markerWidth="1"
|
||||
markerHeight="1"
|
||||
viewBox="0 0 1 1"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always"
|
||||
preserveAspectRatio="xMidYMid">
|
||||
<path
|
||||
transform="scale(0.5)"
|
||||
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
|
||||
d="M 5.77,0 -2.88,5 V -5 Z"
|
||||
id="path135" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible"
|
||||
id="Triangle-8"
|
||||
refX="0"
|
||||
refY="0"
|
||||
orient="auto-start-reverse"
|
||||
inkscape:stockid="Triangle arrow"
|
||||
markerWidth="1"
|
||||
markerHeight="1"
|
||||
viewBox="0 0 1 1"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always"
|
||||
preserveAspectRatio="xMidYMid">
|
||||
<path
|
||||
transform="scale(0.5)"
|
||||
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
|
||||
d="M 5.77,0 -2.88,5 V -5 Z"
|
||||
id="path135-4" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible"
|
||||
id="Triangle-8-1"
|
||||
refX="0"
|
||||
refY="0"
|
||||
orient="auto-start-reverse"
|
||||
inkscape:stockid="Triangle arrow"
|
||||
markerWidth="1"
|
||||
markerHeight="1"
|
||||
viewBox="0 0 1 1"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always"
|
||||
preserveAspectRatio="xMidYMid">
|
||||
<path
|
||||
transform="scale(0.5)"
|
||||
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
|
||||
d="M 5.77,0 -2.88,5 V -5 Z"
|
||||
id="path135-4-5" />
|
||||
</marker>
|
||||
<marker
|
||||
style="overflow:visible"
|
||||
id="Triangle-8-1-6"
|
||||
refX="0"
|
||||
refY="0"
|
||||
orient="auto-start-reverse"
|
||||
inkscape:stockid="Triangle arrow"
|
||||
markerWidth="1"
|
||||
markerHeight="1"
|
||||
viewBox="0 0 1 1"
|
||||
inkscape:isstock="true"
|
||||
inkscape:collect="always"
|
||||
preserveAspectRatio="xMidYMid">
|
||||
<path
|
||||
transform="scale(0.5)"
|
||||
style="fill:context-stroke;fill-rule:evenodd;stroke:context-stroke;stroke-width:1pt"
|
||||
d="M 5.77,0 -2.88,5 V -5 Z"
|
||||
id="path135-4-5-9" />
|
||||
</marker>
|
||||
</defs>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:0.750001;stroke-linecap:square"
|
||||
d="M 53.868409,78.890616 V 288.61218"
|
||||
id="path1" />
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:0.750001;stroke-linecap:square"
|
||||
d="M 130.85723,78.890614 V 288.61218"
|
||||
id="path1-3" />
|
||||
<g
|
||||
id="g1"
|
||||
transform="translate(0,53.697013)">
|
||||
<rect
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">R--</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-9"
|
||||
transform="translate(-2.6600552e-6,-32.029189)">
|
||||
<path
|
||||
id="rect1-3"
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
d="M 67.609094,41.847254 H 104.3507 v 0 l 13.44917,12.832716 v 52.03205 H 67.609094 Z"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="110.44955"
|
||||
y="89.434639"
|
||||
id="text1-1"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-9"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="110.44955"
|
||||
y="89.434639">.elf</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-0"
|
||||
transform="translate(0,102.15196)">
|
||||
<rect
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1-6"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1-2"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-6"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">R-X</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-0-2"
|
||||
transform="translate(0,129.30906)">
|
||||
<rect
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1-6-0"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1-2-2"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-6-3"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">RW-</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g1-0-2-2"
|
||||
transform="translate(0,180.20803)">
|
||||
<rect
|
||||
style="fill:#888a85;stroke:#ffffff;stroke-width:0.750002;stroke-linecap:square"
|
||||
id="rect1-6-0-8"
|
||||
width="74.805489"
|
||||
height="27.157106"
|
||||
x="55.301743"
|
||||
y="54.067329" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16.1099px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#ffffff;stroke:none;stroke-width:0.75;stroke-linecap:square"
|
||||
x="107.08259"
|
||||
y="72.929932"
|
||||
id="text1-2-2-9"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan1-6-3-7"
|
||||
style="fill:#ffffff;stroke:none;stroke-width:0.75"
|
||||
x="107.08259"
|
||||
y="72.929932">RW-</tspan></text>
|
||||
</g>
|
||||
<path
|
||||
style="font-size:17.3465px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:tb-rl;text-orientation:sideways;text-anchor:end;fill:#eeeeec;stroke:#eeeeec;stroke-width:0.749998;stroke-linecap:square"
|
||||
d="m 25.311407,139.47422 v 1.68261 l 11.379304,3.60807 v -1.47445 l -6.140661,-1.82138 c -1.353027,-0.38162 -2.42851,-0.67652 -3.76419,-1.09283 v -0.0694 c 1.33568,-0.41631 2.411163,-0.69386 3.76419,-1.09283 l 6.140661,-1.83873 v -1.52649 z m 0,11.51808 v 1.42242 h 8.430399 v -5.34273 h -1.162215 v 3.92031 z m 10.199742,0.55509 c 0,0.64182 0.433663,1.14487 1.110176,1.14487 0.659167,0 1.110176,-0.50305 1.110176,-1.14487 0,-0.64182 -0.451009,-1.14487 -1.110176,-1.14487 -0.676513,0 -1.110176,0.50305 -1.110176,1.14487 z m -10.199742,6.90391 v 1.42242 h 4.943753 c 1.751996,1.00609 2.411163,2.203 2.411163,3.4693 0,0.65916 -0.08673,0.9714 -0.29489,1.56118 l 1.231601,0.32959 c 0.260198,-0.5204 0.34693,-1.04079 0.34693,-1.66527 0,-1.56118 -0.849978,-2.87952 -2.203005,-3.76419 v -0.052 l 1.994847,-0.12142 v -1.17957 z m -0.208158,14.70984 c 0,1.05814 0.225505,1.87343 0.503049,2.63667 l 1.04079,-0.31223 c -0.225505,-0.60713 -0.381623,-1.23161 -0.381623,-2.02955 0,-1.63057 0.797939,-2.13361 2.307084,-2.13361 h 4.007042 v 4.14581 h 1.162215 v -4.14581 h 2.706054 v -1.17957 l -2.706054,-0.19081 -0.08673,-2.42851 H 32.579591 V 169.9 h -3.989695 c -2.08158,0 -3.486647,0.79794 -3.486647,3.26114 z m 0,7.84063 c 0,1.30099 0.69386,2.28974 1.682611,3.13971 v 0.0694 l -1.474453,0.12143 v 1.16221 h 8.430399 v -1.42241 h -5.84577 c -1.09283,-0.93671 -1.561185,-1.64792 -1.561185,-2.61932 0,-1.40507 0.763246,-1.94281 2.359124,-1.94281 h 5.047831 v -1.43976 h -5.238643 c -2.220352,0 -3.399914,0.91936 -3.399914,2.93156 z m 0,10.4079 c 0,1.19691 0.624474,2.39382 1.353027,3.33053 v 0.052 l -1.144869,0.12143 v 1.16221 h 5.169257 c 2.098927,0 3.4693,-1.11017 3.4693,-3.41726 0,-1.47445 -0.659167,-2.89686 -1.214255,-3.74684 l -0.971404,0.55509 c 0.485702,0.78059 1.006097,1.85607 1.006097,2.9489 0,1.63057 -0.971404,2.20301 -2.116273,2.2377 -0.34693,-4.35397 -1.266294,-6.10597 -3.157063,-6.10597 -1.509145,0 -2.393817,1.28364 -2.393817,2.86217 z m 1.144869,0.38163 c 0,-0.97141 0.39897,-1.85608 1.353027,-1.85608 1.110176,0 1.821383,1.11018 2.116273,4.71825 h -2.220352 c -0.797939,-0.95406 -1.248948,-1.90812 -1.248948,-2.86217 z m -1.144869,12.81907 c 0,0.91936 0.173465,1.47445 0.503049,2.25504 l 1.058136,-0.36427 c -0.260197,-0.57244 -0.381623,-1.09283 -0.381623,-1.57853 0,-1.0061 0.520395,-1.66527 1.751997,-1.66527 h 9.627307 v -4.42336 H 36.4999 v 3.00095 h -8.361013 c -1.994848,0 -3.035638,0.98875 -3.035638,2.77544 z m 0.208158,15.00473 v 1.35303 h 5.689652 c 1.110176,0 3.052984,-0.13877 4.024388,-0.24285 v 0.0347 l -2.220352,0.65917 -4.475397,1.59588 v 1.04079 l 4.475397,1.63057 2.220352,0.64182 v 0.052 c -0.971404,-0.0694 -2.914212,-0.24285 -4.024388,-0.24285 h -5.689652 v 1.38772 h 11.379304 v -1.76935 l -4.85702,-1.61322 -1.838729,-0.53774 v -0.0694 l 1.838729,-0.55509 4.85702,-1.59587 v -1.76935 z m 7.511035,14.67515 c 0,1.43976 -0.849979,2.39381 -2.584629,2.51524 v -5.37741 c 1.665264,0.26019 2.584629,1.47445 2.584629,2.86217 z m -7.719193,0.20816 c 0,1.35302 0.451009,2.42851 1.006097,3.26114 l 0.936711,-0.5204 c -0.485702,-0.76324 -0.797939,-1.56118 -0.797939,-2.56728 0,-1.752 0.971404,-3.10502 2.879519,-3.27849 v 6.64371 c 0.225505,0.0347 0.537742,0.0694 0.867325,0.0694 2.376471,0 3.955002,-1.42242 3.955002,-3.85093 0,-2.25504 -1.665264,-4.30193 -4.406011,-4.30193 -2.810133,0 -4.440704,2.0122 -4.440704,4.54479 z m 0.208158,5.68965 v 1.42242 h 6.105968 c 0.867325,0.41631 1.300988,0.79794 1.300988,1.38772 0,0.62447 -0.503049,0.86732 -1.474453,0.86732 h -5.932503 v 1.31834 h 6.105968 c 0.867325,0.451 1.300988,0.76324 1.300988,1.35302 0,0.62448 -0.503049,0.90202 -1.474453,0.90202 h -5.932503 v 1.42241 h 6.036582 c 1.682611,0 2.601975,-0.69386 2.601975,-1.87342 0,-0.9714 -0.555088,-1.4918 -1.457106,-1.9775 0.971404,-0.24285 1.457106,-0.76325 1.457106,-1.59588 0,-0.9714 -0.537741,-1.4918 -1.318334,-1.92546 v -0.0347 l 1.110176,-0.12143 v -1.14487 z m -0.208158,14.60576 c 0,2.22035 1.613225,4.16316 4.406011,4.16316 2.82748,0 4.440704,-1.94281 4.440704,-4.16316 0,-2.22035 -1.613224,-4.16316 -4.440704,-4.16316 -2.792786,0 -4.406011,1.94281 -4.406011,4.16316 z m 1.179562,0 c 0,-1.61322 1.300988,-2.68871 3.226449,-2.68871 1.942808,0 3.261142,1.07549 3.261142,2.68871 0,1.61323 -1.318334,2.68871 -3.261142,2.68871 -1.925461,0 -3.226449,-1.07548 -3.226449,-2.68871 z m -0.971404,7.73655 v 1.42242 h 4.943753 c 1.751996,1.00609 2.411163,2.203 2.411163,3.4693 0,0.65916 -0.08673,0.9714 -0.29489,1.56118 l 1.231601,0.32959 c 0.260198,-0.5204 0.34693,-1.04079 0.34693,-1.66527 0,-1.56118 -0.849978,-2.87952 -2.203005,-3.76419 v -0.052 l 1.994847,-0.12142 v -1.17957 z m -3.625418,10.1477 c 0,1.90812 1.266294,2.94891 2.931558,3.57338 l 9.124259,3.71215 v -1.35302 l -4.666208,-1.83873 c -0.763246,-0.27755 -1.647918,-0.60713 -2.445857,-0.90202 v -0.0694 c 0.815286,-0.34693 1.699957,-0.7112 2.445857,-1.04079 l 4.666208,-2.06423 v -1.43976 l -8.447745,3.93766 -0.624474,-0.2602 c -1.04079,-0.41632 -1.804036,-1.12752 -1.804036,-2.30709 0,-0.26019 0.05204,-0.Line truncated
|
||||
id="text2"
|
||||
transform="scale(1.0847952,0.92183299)"
|
||||
aria-label="Virtual Memory" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:11.1456px;line-height:1;font-family:'Source Code Pro';-inkscape-font-specification:'Source Code Pro';text-align:end;writing-mode:lr-tb;direction:ltr;text-orientation:sideways;text-anchor:end;fill:#eeeeec;stroke:#eeeeec;stroke-width:0.750006;stroke-linecap:square"
|
||||
x="184.04128"
|
||||
y="101.22216"
|
||||
id="text2-7"
|
||||
transform="scale(1.0960035,0.91240584)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan2-4"
|
||||
style="writing-mode:lr-tb;direction:ltr;fill:#eeeeec;stroke:#eeeeec;stroke-width:0.75"
|
||||
x="184.04128"
|
||||
y="101.22216">mmap()</tspan></text>
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:1;stroke-linecap:square;stroke-dasharray:none;marker-end:url(#Triangle)"
|
||||
d="m 118.17487,34.914503 c 16.46896,23.075577 25.14959,52.713205 4.7749,86.428407"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:1;stroke-linecap:square;stroke-dasharray:none;marker-end:url(#Triangle-8)"
|
||||
d="m 118.17487,34.914503 c 37.43149,31.450123 17.64084,126.161797 1.24735,133.090777"
|
||||
id="path2-3"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:1;stroke-linecap:square;stroke-dasharray:none;marker-end:url(#Triangle-8-1)"
|
||||
d="m 117.75211,34.914503 c 41.91788,24.852487 38.52718,129.265947 4.56422,162.032387"
|
||||
id="path2-3-7"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<path
|
||||
style="fill:none;stroke:#eeeeec;stroke-width:1;stroke-linecap:square;stroke-dasharray:none;marker-end:url(#Triangle-8-1-6)"
|
||||
d="m 118.17487,34.914503 c 53.40822,23.619847 43.38988,179.605807 4.21508,212.931357"
|
||||
id="path2-3-7-4"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
@@ -0,0 +1,17 @@
|
||||
section .text
|
||||
global _start ; Start Symbol
|
||||
|
||||
_start:
|
||||
mov rax, 1 ; sys_write
|
||||
mov rdi, 1 ; to file descriptor 1 (stdout)
|
||||
mov rsi, message ; pointer to message downstairs
|
||||
mov rdx, 16 ; message length
|
||||
syscall
|
||||
|
||||
; Exit syscall: _exit(0)
|
||||
mov rax, 60 ; syscall number for sys_exit
|
||||
xor rdi, rdi ; exit code 0
|
||||
syscall
|
||||
|
||||
section .data
|
||||
message: db "Hello Interfug", 16
|
||||
Reference in new issue
Block a user