Run Sparc binaries without Sparc hardware

前端 未结 10 873
一向
一向 2021-02-08 08:52

I\'ve been curious in the past few months in trying my hand at doing some assembly for the SPARC processor (either V8 or V9). My question is this, I have no access to a SPARC ma

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 09:10

    In addition to complete system emulation, QEMU can also emulate SPARC at the user-space level, so that you can write a program in SPARC assembly and use standard Linux system calls and it will call the standard x86 kernel versions... works pretty well!!

    If you aren't sure you want to learn SPARC assembly specifically, you might look into MIPS instead. Most wireless routers are based on MIPS processors and can run Linux. It is similar to SPARC, of a similar vintage, and along with SPARC it's one of the two original RISC architectures... in my opinion MIPS is actually a little bit more of a clean and elegant architecture than SPARC, but they're both great.

提交回复
热议问题