SPARC and alternate address spaces

Ed Prosser prosser at reggiano.cs.wisc.edu
Sat May 27 04:34:51 AEST 1989


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 at reggiano.cs.wisc.edu



More information about the Comp.sys.sun mailing list