This commit is contained in:
2024-10-19 11:17:09 -04:00
parent 4535b89eaf
commit 3bdef99939

View File

@@ -201,7 +201,7 @@ hcf:
ALIGN 4, db 0x90 ALIGN 4, db 0x90
PrintString: PrintString:
__CDECL16_ENTRY __CDECL16_ENTRY
mov di, [bp + 4] ; first arg is char* mov di, [bp + 4] ; first arg is char[]
.str_len: .str_len:
xor cx, cx ; ECX = 0 xor cx, cx ; ECX = 0
not cx ; ECX = -1 == 0xFFFF not cx ; ECX = -1 == 0xFFFF