Diese Webseite funktioniert besser mit JavaScript.
Startseite
Erkunden
lain.church
Hilfe
Registrieren
Anmelden
izaya
/
collapseos
Mirror von
https://github.com/hsoft/collapseos.git
Beobachten
1
Favorisieren
1
Fork
0
Code
Issues
0
Releases
0
Wiki
Aktivität
Quellcode durchsuchen
parse: fix option word default value
Previously, an optional word argument would only have its first byte set to zero.
pull/10/head
Virgil Dupras
vor 5 Jahren
Ursprung
93981e00eb
Commit
14cc2fb785
1 geänderte Dateien
mit
4 neuen
und
3 gelöschten
Zeilen
Geteilte Ansicht
Diff-Optionen
Statistiken anzeigen
Patch-Datei herunterladen
Vergleichs-Datei herunterladen
+4
-3
kernel/parse.asm
+ 4
- 3
kernel/parse.asm
Datei anzeigen
@@ -92,12 +92,13 @@ parseArgs:
push hl
push ix
ld b, PARSE_ARG_MAXCOUNT
.loop:
; init the arg value to a default 0
xor a
ld (ix), a
ld (ix+1), a
ld (ix+2), a
ld b, PARSE_ARG_MAXCOUNT
.loop:
ld a, (hl)
; is this the end of the line?
or a ; cp 0
Verfassen
Vorschau
Laden…
Abbrechen
Speichern