wok-current diff linld/stuff/src/_BEG.ASM @ rev 22170
linld: clear heap in moverm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 10:47:52 2019 +0100 (2019-11-08) |
parents | 5b6c86ca3faa |
children | 65ea21135647 |
line diff
1.1 --- a/linld/stuff/src/_BEG.ASM Sat Oct 19 10:25:12 2019 +0200 1.2 +++ b/linld/stuff/src/_BEG.ASM Fri Nov 08 10:47:52 2019 +0100 1.3 @@ -32,6 +32,8 @@ 1.4 1.5 global _bss_start:byte 1.6 label _bss_start byte 1.7 + global _version_string:byte 1.8 + label _version_string byte 1.9 db STACK_SIZE-2 dup(?) 1.10 stktop dw ? 1.11 global _cpu_features:dword 1.12 @@ -52,7 +54,7 @@ 1.13 ; clear bss 1.14 ;*************************************************************** 1.15 mov sp,offset stktop 1.16 - mov si,sp 1.17 + mov si,offset _version_string 1.18 mov bx, 0F000h ; cld ; cli & empty string 1.19 clearbss: 1.20 mov [si],bl ; clear bss + heap + sp