Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
lain.church
Aide
S'inscrire
Connexion
izaya
/
collapseos
miroir de
https://github.com/hsoft/collapseos.git
Suivre
1
Ajouter aux favoris
1
Bifurcation
0
Code
Tickets
0
Versions
0
Wiki
Activité
Parcourir la source
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
il y a 5 ans
Parent
93981e00eb
révision
14cc2fb785
1 fichiers modifiés
avec
4 ajouts
et
3 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+4
-3
kernel/parse.asm
+ 4
- 3
kernel/parse.asm
Voir le fichier
@@ -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
Écrire
Aperçu
Chargement…
Annuler
Enregistrer