From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <19177366@brookes.ac.uk> X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from gnuweeb.org by gnuweeb.org with LMTP id oH66EqI8PGKXWg8ALGQddQ (envelope-from <19177366@brookes.ac.uk>) for ; Thu, 24 Mar 2022 09:40:50 +0000 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) by gnuweeb.org (Postfix) with ESMTPS id C0A037E705 for ; Thu, 24 Mar 2022 09:40:48 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (1024-bit key; unprotected) header.d=brookes.ac.uk header.i=@brookes.ac.uk header.a=rsa-sha256 header.s=google header.b=KMPc5pNu; dkim-atps=neutral Received: by mail-ej1-f41.google.com with SMTP id r13so7954079ejd.5 for ; Thu, 24 Mar 2022 02:40:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brookes.ac.uk; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=b44+Dlx/pTNq3gtg0F/420v1E7EA5pmb1BSZ2uQW8Pk=; b=KMPc5pNuRFuoF9O7Svqvg0iZ24skuWUk+5ago/AmwkPHZUJbDv4LNTOtyud8sZ3PNn eqvDrtKc052dHYlasRgiEnjIlYOC0hcfk9wQuoA/weLBec6iH0cCgj64/kpx+9RUAyg9 lVeWRwXEQF0Ch3l7u1/9z/dhC1Xt1XazA81Ow= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=b44+Dlx/pTNq3gtg0F/420v1E7EA5pmb1BSZ2uQW8Pk=; b=0wnQF5k+UXk1b61CMt+HC2zbOKQ2njG+9uYRRbEZLLXAzsGTqDi1nYL22iLjL7/MVy ik5Lyiw/7B56c876FkDQXYNPFurH9obUSMSGYJv/DOM3E/dPXA06YhNnTzFb0EHGKFSU Yg1rLyn4Oqsk2FuUSbpDcQD18REZpbNm9977Aufuwg7tX2iW9yTEgZZ+ayh5gwhNX2oe tzZKqkqKau4qth1jQ/XYZYAl6yNignEtac+lqrMst3ttgCXZBlnzfSiJoZUnCrF034po F8/w8Dbd8u8p8p9fJsOiQvCB9+56NSA79ZDN6S45sKvfhnjNqk612AsdRfuOO+sHqUV4 FgBg== X-Gm-Message-State: AOAM532LAESEdXdA7Akq4Xefn+zKxW2Zd7FuVnTbAUIS52rwsMQrKzb9 XbfaacKvhYWjZjTFTMpKorBiO8AH1wXWtl/bMLIRfbgTkYs= X-Google-Smtp-Source: ABdhPJxIV1obXrioh+vDcfzWx1R5J1MzFojrEk/WwON2VQDIEz8t6RiAi2zzK4KEw4kbdLkA1SLvFwyemG1RDOq+Xlw= X-Received: by 2002:a17:906:2a50:b0:6da:ed06:b029 with SMTP id k16-20020a1709062a5000b006daed06b029mr4778242eje.506.1648114787036; Thu, 24 Mar 2022 02:39:47 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Anisa Elezi <19177366@brookes.ac.uk> Date: Thu, 24 Mar 2022 09:39:35 +0000 Message-ID: Subject: Re: Please give me some help with assembly code! To: Ammar Faizi Cc: GNU/Weeb Mailing List Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: Thank you so much for your help Ammar, You really helped me a lot! Thank you again! Have a nice day! Anisa On Thu, 24 Mar 2022 at 06:35, Ammar Faizi wrote: > On 3/24/22 1:31 PM, Ammar Faizi wrote: > > inc rdi ; Increment the string pointer. > > cmp esi, 7 > > jl .do_loop ; Jump back to the top if esi < 6 > > ^ That comment got a typo, should be if esi < 7, of course. > > -- > Ammar Faizi >