Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
lain.church
Ayuda
Registro
Iniciar sesión
izaya
/
collapseos
réplica de
https://github.com/hsoft/collapseos.git
Seguir
1
Destacar
1
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
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
hace 5 años
padre
93981e00eb
commit
14cc2fb785
Se han
modificado 1 ficheros
con
4 adiciones
y
3 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+4
-3
kernel/parse.asm
+ 4
- 3
kernel/parse.asm
Ver fichero
@@ -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
Escribir
Vista previa
Cargando…
Cancelar
Guardar