From 4185650ce12466fd208afc0fcbe89df847f65072 Mon Sep 17 00:00:00 2001 From: Clanmaster21 <asalukehopkins@gmail.com> Date: Sun, 13 Oct 2019 14:10:35 +0100 Subject: [PATCH] Fixed tabs and spacing --- apps/ed/cmd.asm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/ed/cmd.asm b/apps/ed/cmd.asm index 07a61b8..618b3dd 100644 --- a/apps/ed/cmd.asm +++ b/apps/ed/cmd.asm @@ -89,8 +89,8 @@ cmdParse: jr z, .dot cp '$' jr z, .eof - add a, 0xc6 ; inline ParseDecimalDigit - sub 0xf6 + add a, 0xc6 ; inline parseDecimalDigit + sub 0xf6 jr c, .notHandled ; straight number ld a, ABSOLUTE @@ -122,8 +122,8 @@ cmdParse: inc hl ; advance cmd cursor ld a, (hl) ld de, 1 ; if .pmNoSuffix - add a, 0xc6 ; Inline ParseDecimalDigit - sub 0xf6 + add a, 0xc6 ; Inline parseDecimalDigit + sub 0xf6 jr c, .pmNoSuffix call .parseDecimalM ; --> DE .pmNoSuffix: @@ -151,8 +151,8 @@ cmdParse: .loop: inc hl ld a, (hl) - add a, 0xc6 ; Inline ParseDecimalDigit - sub 0xf6 + add a, 0xc6 ; Inline parseDecimalDigit + sub 0xf6 jr nc, .loop ; We're at the first non-digit char. Let's save it because we're going ; to temporarily replace it with a null.