From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 29 Oct 2004 22:58:54 -0400 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] assembler question In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: Topicbox-Message-UUID: f826bf82-eacd-11e9-9e20-41e7f4b1d025 > Is it possible to generate a 3-address ADD instruction for > the 3-address machines (such as sparc using ka)? Without > resorting to laying down the opcode manually, of course. Looking at /sys/src/cmd/ka/a.y:208, it appears you can just say ADDW r2, r3, r4. Have you tried this? Russ