[go: nahoru, domu]

Jump to content

SPIM

Daga Wikipedia, Insakulofidiya ta kyauta.
SPIM
virtual machine (en) Fassara, platform virtualization software (en) Fassara da free software (en) Fassara
Bayanai
Mai haɓakawa James Larus (en) Fassara
Shafin yanar gizo spimsimulator.sourceforge.net
Lasisin haƙƙin mallaka 3-clause BSD License (en) Fassara
Copyright status (en) Fassara copyrighted (en) Fassara

Sunan na'urar kwaikwayon shine juyawa daga haruffa "MIPS".

Ana samun simulators na SPIM don tsarin aiki na Windows (PCSpim), Mac OS X da Unix / Linux (xspim). Ya zuwa lokacin da aka saki 8.0 a watan Janairun 2010, an ba da lasisi ga simulator a ƙarƙashin Lasisin BSD.

A cikin Janairu, 2011, babban fitowar sigar 9.0 yana da fasalin QtSpim wanda ke da sabon mai amfani wanda aka gina a kan Tsarin Qt UI na giciye kuma yana gudana akan Windows, Linux, da macOS. Daga wannan sigar, an kuma tura aikin zuwa SourceForge don ingantaccen kulawa. An samar da nau'ikan QtSpim don Linux (32-bit), Windows, da Mac OS X, da kuma PCSpim don Windows.

Tsarin aiki na SPIM

[gyara sashe | gyara masomin]

Mai kwaikwayon SPIM ya zo tare da tsarin aiki na rudimentary, wanda ke ba da damar yin amfani da ayyukan da aka saba amfani da su a hanya mai dadi. Irin waɗannan ayyuka ana kiran su ta hanyar umarnin .  Sa'an nan OS yana aiki dangane da dabi'un takamaiman rajista.

Misalan kiran tsarin (wanda SPIM ta yi amfani da shi)
hidima Lambar tarko Shigarwa Fitarwa Bayani
bugawa_int $v0 = 1 $a0 = ƙididdigar da za a buga bugawa $ a0 zuwa daidaitattun fitarwa tushe = 10
bugawa_string $v0 = 4 $a0 = adireshin hali na farko buga wani hali igiya zuwa misali fitarwa
karantawa_int $v0 = 5 ƙididdigar da aka karanta daga daidaitattun shigarwa da aka sanya a cikin $v0 tushe = 10
sbrk $v0 = 9 $a0 = yawan bytes da ake buƙata $v0= adireshin ƙwaƙwalwar ajiya Yana rarraba ƙwaƙwalwar ajiya daga tarin
Fitarwa $v0 = 10
fayil_buɗe $v0 = 13 $a0 = cikakken hanya, $a1 = tutoci, $a2 = Yanayin fayil na octal na UNIX $v0 = mai bayyana fayil Misali; akwai karatu / rubutu / rufe ayyuka, ma

SPIM OS na sa ran lakabin da ake kira babba a matsayin maɓallin mikawa daga OS-preamble. 

SPIM Sauran / Masu fafatawa

[gyara sashe | gyara masomin]

MARS (MIPS Assembler and Runtime Simulator) [1] wani IDE ne na tushen Java don Harshe na Shirye-shiryen Taron MIPS kuma madadin SPIM.An fara fitar da shi ne a shekarar 2005.  [ana buƙatar hujja]Koyaya, kamar yadda masu kula da shi biyu suka yi ritaya, [2] aikin ba ya cikin ci gaba mai aiki.[3]

Imperas wani tsari ne na kayan aikin ci gaban software da aka saka don gine-ginen MIPS wanda ke amfani da ƙididdigar ƙididdiga da ƙididdiga.An fara fitar da simulator ɗin ne a cikin 2008 kuma yana cikin ci gaba mai aiki.Akwai samfuran bude tushen sama da 30 na MIPS 32 bit [4] da 64 bit [5] core.

Wani madadin SPIM don dalilai na ilimi shine The CREATOR simulator . [6] [7][8] CREATOR yana iya ɗaukar hoto (za a iya aiwatar da shi a cikin masu bincike na yanar gizo na yanzu) kuma yana bawa ɗalibai damar koyon harsunan taro da yawa na masu sarrafawa daban-daban a lokaci guda (CREATOR ya haɗa da misalai na umarnin MIPS32 da RISC-V).

  • GXemul (wanda aka fi sani da mips64emul), wani mai kwaikwayon MIPS. Ba kamar SPIM ba, wanda ke mai da hankali kan yin koyi da aiwatarwa na MIPS, an rubuta GXemul don yin koyi da cikakken tsarin kwamfuta bisa ga microprocessors na MIPS - misali, GXemula na iya yin koyi da tashar aiki ta DECstation 5000 Model 200
  • OVPsim kuma yana kwaikwayon MIPS, kuma inda duk samfuran MIPS ke tabbatar da su ta hanyar MIPS TechnologiesFasahar MIPS
  • QEMU kuma tana kwaikwayon MIPS
  • Gine-gine na MIPS
  1. "MARS MIPS simulator - Missouri State University". Retrieved 1 October 2016.
  2. "Otterbein University Computer Science: Peter Sanderson". Retrieved 14 April 2024.
  3. "Ken R. Vollmar - Computer Science Department - Missouri State University". Retrieved 14 April 2024.
  4. "Open Virtual Platforms". Retrieved 1 October 2016.
  5. "Open Virtual Platforms". Retrieved 1 October 2016.
  6. "CREATOR: Simulador didáctico y genérico para la programación en ensamblador". 23 July 2021.
  7. CREATOR Web with MIPS32 example: https://creatorsim.github.io/creator/?example_set=default&example=e12
  8. CREATOR source code on GitHub: https://github.com/creatorsim/creator

Haɗin waje

[gyara sashe | gyara masomin]