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
0
votes
0 answers

Is there any workaround to run JDK 1.7 on Solaris SPARC 5.8?

I have to work with some outdated Solaris servers. They can run JDK 1.6. SunOS 5.8 sun4u sparc SUNW,Sun-Fire-V240 I know that JDK 1.7 requires Solaris 10+, but I have no chance to upgrade these servers :( When trying to run JDK 1.7, I got this…
Tuan
  • 2,303
  • 2
  • 25
  • 37
0
votes
1 answer

Seg Faulting SPARC Assembly

I am determining if a number is zero in my function. If it is zero I need to pass some string like "Is Zero" into the variable I have declared as B. My function to determine if it is zero works but when I try to pass the string into the variable B…
Alfred
  • 21
  • 4
0
votes
2 answers

Do Scala Sparc RDDs allow objects with reference members

I am in the early stages of designing an application using Sparc RDDs (which I don't understand yet). The RDD will contain a large number of objects which in turn contain references to a small number (100) of somewhat large (0.5MB) objects which are…
michael meyer
  • 169
  • 2
  • 9
0
votes
1 answer

sparc assembly - add and addcc

I have just read some old courses on SPARC Assembly and I don't remember the difference between "add" and "addcc" instructions (like also sub and subcc). Could you explain to me this difference ? Thanks
user1773603
0
votes
0 answers

Simple bootloader for running Linux kernel on a simulator

We have built a simple instruction set simulator for the sparc v8 processor. The model consists of a v8 processor, a main memory and a character input and a character output device. Currently I am able to run simple user-level programs on this…
Neha Karanjkar
  • 3,390
  • 2
  • 29
  • 48
0
votes
1 answer

How to expand the macro definitions and identify the unnecessary instructions in ARC Assembly?

This is such a tidiest topic so far while learning this assembly. The book doesn't give good examples, so I'm totally lost as to how am I supposed to expand this macro, perhaps within a macro? Here's what it asks: Given two macros push and pop as…
0
votes
1 answer

Can Solaris x86 run old applications that were compiled for Solaris Sparc?

Is the x86 edition able to run old apps? Does it take care of all endianness stuff? Please don't send me to Google :) I honestly tried and was not able to find a solid answer with some references.
user929298
  • 559
  • 1
  • 5
  • 13
0
votes
1 answer

Are IA64 and SPARC chips RISC or CISC architecture?

I have a very basic questions about these architectures are these architecture RISC-based or CISC-based? pipeline stages in both and instruction set format for both Please help me
vicky
  • 673
  • 1
  • 8
  • 14
0
votes
0 answers

Stuck on C program conversion to SPARC assembly

I'm new to Assembly so please bear with me! As the C program says I'm taking an array and the number of elements as parameters and passing the array and the number of elements to minmax. But my second task is to convert it to Assembly which has been…
0
votes
1 answer

Gdb , how to use print?

can someone explain this "Also print out the contents of particular registers (use p) at key points in your program to show that it is working as expected. "? I tried (gdb) p, but I keep getting "The history is empty (gdb) ni 0x000106d0 in loop…
iamlost
  • 3
  • 2
0
votes
1 answer

Is there an option to convert shell installation to pkg in Solaris?

The JRE's in oracle site for Solaris comes in 'sh' format (java_1.6.xx.sh). Is there an option to convert it from 'sh' to 'pkg', and then install it from this pkg on solaris using 'pkgadd'?
15412s
  • 3,298
  • 5
  • 28
  • 38
0
votes
2 answers

Compile Sparc Assembly Language

I am currently in a class called "Computer Architecture and Organization." My professor wrote a mini operating system in the Sparc Assembler Language. My professor now wants us to write a recursive function and print the results to a console. My…
Sameer A.
  • 167
  • 1
  • 2
  • 15
0
votes
1 answer

Assembly printing at a certain multiple during a loop

Hi this is for Sparc Assembly Language and I have a loop with a counter to keep track of how many cycles it's looping through. How can I have it check that counter if it is multiples of 4 to print "blah blah blah" and so on. So at counts…
Selena Gomez
  • 69
  • 1
  • 7
0
votes
1 answer

Assembly algorithm

This is my algorithm to keep dividing the number by 2 until the quotient reaches 0 it stops, but i need to print the remainders for it to be in binary and i attempted in my code below. But when i run it , it doesn't print anything. a =…
Selena Gomez
  • 69
  • 1
  • 7
0
votes
1 answer

Remove leading zeroes binary

I want to basically remove my leading zeroes. When I print out a number for example 17 is 00000 0000 0000 0000 0000 0000 00001 0001 but to do remove those leading zeroes. Because in sparc machine that is what is printed out and I need to do this…