mov es, cx
mov ds, ax
+ push es
+ push di
+
+ mov di, offset _temp
+ xor al, al
+
+ mov cx, 255
+ rep stosb
+
+ pop di
+ pop es
+
xor ax, ax
push ax
_handler_path.print:
- pop ax
+ pop si
pop es
- mov ds, ax
-
+ mov es, si
xor bx, bx
+
+ mov ax, es:[bx]
+ mov ds, ax
call _writestr
mov al, '='
jz _handler_path.no_value
mov ds, ax
-
- xor bx, bx
call _writestr
_handler_path.no_value:
- pop ds
- pop es
- add di, 2
-
mov al, HEX (0D)
call _writechr
mov al, HEX (0A)
call _writechr
- dec cx
- jz _handler_path.done
+ jmp _handler_path.done
_handler_path.copy:
mov es, cx
mov ds, ax
+ push es
+ push di
+
+ mov di, offset _temp
+ xor al, al
+
+ mov cx, 255
+ rep stosb
+
+ pop di
+ pop es
+
xor ax, ax
push ax
push di
push es
- xor ax, ax
-
mov si, cs:[_vec_env]
mov cx, cs:[_vec_env + 4]
mov es, cx
mov ds, ax
+ push es
+ push di
+
+ mov di, offset _temp
+ xor al, al
+
+ mov cx, 255
+ rep stosb
+
+ pop di
+ pop es
+
xor ax, ax
push ax
mov es, cx
mov ds, ax
+ push es
+ push di
+
+ mov di, offset _temp
+ xor al, al
+
+ mov cx, 255
+ rep stosb
+
+ pop di
+ pop es
+
xor ax, ax
push ax
-Subproject commit 2b218a0bd719edc90f0e6168b8c55c909ee67703
+Subproject commit fa2dcb9d35aed13af6c0c90fe794465ed4f02eeb