BBS: Inland Empire Archive Date: 03-21-93 (13:23) Number: 124 From: MARTIN RICHEK Refer#: NONE To: DAVE M. WALKER Recvd: NO Subj: 8088 32bit sub Conf: (1) 80xxx
Hi, Dave. Quoted from DAVE M. WALKER on 3/20/1993 at 3:38 pm to DAVID KIRSCHBAUM: DMW> Start: mov es,[002Ch] ;Grab environ seg in PSP DMW> xor di,di ;Start at offset 0000h DMW> DMW> FindEnd: inc di ;Environ ends with a DMW> cmp [WORD es:di],0 ; double NULL DMW> jne FindEnd Although it doesn't occur very often, an empty environment begins with two nuls, which your test will miss. Regards, mr --- FreeMail 1.07b * Origin: The Bit Bucket * Houston, Tx * 713/496-9670 * (1:106/9670)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET