This website works better with JavaScript.
Почетна
Преглед
lain.church
Помоћ
Регистрација
Пријавите Се
izaya
/
collapseos
огледало од
https://github.com/hsoft/collapseos.git
Прати
1
Волим
1
Креирај огранак
0
Код
Дискусије
0
Издања
0
Вики
Activity
Преглед изворни кода
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
пре 5 година
родитељ
93981e00eb
комит
14cc2fb785
1 измењених фајлова
са
4 додато
и
3 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-3
kernel/parse.asm
+ 4
- 3
kernel/parse.asm
Прегледај датотеку
@@ -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
Write
Preview
Loading…
Откажи
Сачувај