<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://update.proggen.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://update.proggen.org/feed.php">
        <title>proggen.org asm</title>
        <description></description>
        <link>http://update.proggen.org/</link>
        <image rdf:resource="http://update.proggen.org/lib/tpl/proggenY/images/favicon.ico" />
       <dc:date>2026-04-19T18:04:05+0200</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://update.proggen.org/doku.php?id=asm:start&amp;rev=1663868367"/>
                <rdf:li rdf:resource="http://update.proggen.org/doku.php?id=asm:string&amp;rev=1663868367"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://update.proggen.org/lib/tpl/proggenY/images/favicon.ico">
        <title>proggen.org</title>
        <link>http://update.proggen.org/</link>
        <url>http://update.proggen.org/lib/tpl/proggenY/images/favicon.ico</url>
    </image>
    <item rdf:about="http://update.proggen.org/doku.php?id=asm:start&amp;rev=1663868367">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-22T19:39:27+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>asm:start</title>
        <link>http://update.proggen.org/doku.php?id=asm:start&amp;rev=1663868367</link>
        <description>Assembler

	*  &lt;https://www.proggen.org/forum/viewtopic.php?f=21&amp;t=1577&gt;
	*  &lt;https://www.proggen.org/forum/viewtopic.php?f=39&amp;t=2419&amp;p=23439#p15678&gt;
	*  String-Funktionen der C-Standardbibliothek in NASM</description>
    </item>
    <item rdf:about="http://update.proggen.org/doku.php?id=asm:string&amp;rev=1663868367">
        <dc:format>text/html</dc:format>
        <dc:date>2022-09-22T19:39:27+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>asm:string</title>
        <link>http://update.proggen.org/doku.php?id=asm:string&amp;rev=1663868367</link>
        <description>String-Funktionen der C-Standardbibliothek in NASM

Implementierung

NASM


; string.asm
section .text
; Funktionen müssen global sein, damit sie aus C aufgerufen werden können.
global asm_strcpy, asm_strncpy, asm_strcat, asm_strncat, asm_strlen

; void asm_strcpy( char *dst, char *src );
; rdi = dst
; rsi = src
asm_strcpy:
  xor rax, rax
  .loop:
    mov al, [rsi]
    mov [rdi], al
    inc rdi
    inc rsi
    cmp rax, 0x0
  jnz .loop
  ret

; void asm_strncpy( char *dst, char *src, int size );
…</description>
    </item>
</rdf:RDF>
