このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
lain.church
ヘルプ
登録
サインイン
izaya
/
collapseos
ミラー元
https://github.com/hsoft/collapseos.git
ウォッチ
1
スター
1
フォーク
0
コード
課題
0
リリース
0
Wiki
アクティビティ
ソースを参照
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行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+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
書き込み
プレビュー
読み込み中…
キャンセル
保存