Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: prosser@reggiano.cs.wisc.edu (Ed Prosser) Newsgroups: comp.sys.sun Subject: SPARC and alternate address spaces Keywords: Software Message-ID: <3555@kalliope.rice.edu> Date: 26 May 89 18:34:51 GMT Sender: usenet@rice.edu Organization: Sun-Spots Lines: 23 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 7, message 15 of 15 I am working on a project which may require some self-modifying code. The assembler says there is a syntax error in the following lines: lda [%g1] 8,%g2 and sta %g2,[%g1] 8 Where 8 is the address space identifier designating the user instruction space. Am I misinterpreting the assembly language syntax guidelines for these two instructions, does the assembler check for memory protection violations, or is there something else that's going on? Please reply by E-mail. Thanks, Ed Prosser UW-Madison Computer Science Department prosser@reggiano.cs.wisc.edu