使用 JavaScript能使本网站更好的工作。
首页
探索
lain.church
帮助
注册
登录
izaya
/
collapseos
镜像自地址
https://github.com/hsoft/collapseos.git
关注
1
点赞
1
派生
0
代码
工单
0
版本发布
0
百科
动态
浏览代码
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 选项
显示统计
下载 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
撰写
预览
正在加载...
取消
保存