Questions tagged [sparc]

SPARC(Scalable Processor Architecture) Sun Microsystems's specific CPU.

SPARC is a RISC instruction set architecture (ISA) developed by Sun Microsystems (now merged into Oracle), introduced in mid-1987.

SPARC hardware often runs Solaris, the Unix operating system, but other OSes run on SPARC hardware, and runs on more than just SPARC hardware.

SPARC doesn't allow unaligned loads, so SIGBUS (bus error) faults are a common problem when porting C or C++ to SPARC from x86 (for example).

In assembly, SPARC's 32 architectural registers are a sliding window onto a virtual register file. The save instruction that slides the window might or might not spill to memory, depending on whether the CPU microarchitecture is out of registers when it runs.

287 questions
-2
votes
1 answer

How to use xor and and in SPARC assembly

set 0xDEADBEEF, %o1 set 0x13579246, %o2 xor %o1, %o2, %o1 What will be in register o1? set 0xDEADBEEF, %o1 set 0x13579246, %o2 and %o1, %o2, %o1 What will be in register o1?
-2
votes
1 answer

Placing data into specific bits

I am trying to learn SPARC and trying to create an array of size 4,000 bytes. Inside of this array I need to calculate an offset to place values in the correct location in that array. I think I know how to size the array, (just use .skip?) and I…
billatron
  • 45
  • 10
1 2 3
19
20