From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: From: Anant Narayanan To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Subject: Re: [9fans] Hello Assembly Date: Sun, 10 Feb 2008 14:00:51 +0530 References: <566BA6DE-1CF7-40EE-B0E7-399EB2585F1B@kix.in> Topicbox-Message-UUID: 4e1920ec-ead3-11e9-9d60-3106f5b1d025 >> DATA string<>+0(SB)/8, $"Hello\n\z\z" > > Why are there two \zs? Shouldn't one be enough? One should be enough, but 8c -S does two \z's (probably to pad it out to exactly 8 bytes). It works either way, since the length we pass as an argument to pwrite is still $7. Regards, Anant