[comp.sys.sun] SPARC and alternate address spaces

prosser@reggiano.cs.wisc.edu (Ed Prosser) (05/27/89)

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